#C2A83C#C2A83C

#C2A83C is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.5% C 0.128 H 95.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#C2A83C
RGBrgb(194, 168, 60)
HSLhsl(48, 53%, 50%)
HSVhsv(48, 69%, 76%)
CMYKcmyk(0%, 13.4%, 69.1%, 23.9%)
CIE-LABlab(69.33, -2.49, 56.87)
CIE-LCHlch(69.33, 56.92, 92.51°)
OKLaboklab(73.48% -0.012 0.1275)
OKLCHoklch(73.48% 0.128 95.4)
XYZxyz(37.0682, 39.8028, 10.0043)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A83C #3C56C2
analogous
#C2653C #C2A83C #99C23C
triadic
#C2A83C #3CC2A8 #A83CC2
tetradic
#C2A83C #3CC265 #3C56C2 #C23C99
square
#C2A83C #3CC265 #3C56C2 #C23C99
split-complementary
#C2A83C #3C99C2 #653CC2
monochromatic
#65571F #93802E #C2A83C #D1BD6A #DFD299

Accessibility & contrast

On white

2.34
#C2A83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#C2A83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A83C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A83C#FFFFFF#000000##000000
##C2A83C1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52D
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#D19B92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a83c;
/* rgb */ color: rgb(194, 168, 60);
/* oklch */ color: oklch(73.5% 0.128 95.4);
Tailwind
colors: {
  custom: {
    50: '#d8c178',
    500: '#c2a83c',
    950: '#000000',
  },
}
SCSS
$custom: #c2a83c;
$custom-light: #d8c178;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a83c",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 60
  },
  "hsl": {
    "h": 48.358,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7348,
    "c": 0.12804,
    "h": 95.4
  },
  "luminance": 0.39801
}

Semantic roles & 50–950 ramp

primary
#C2A83C
secondary
#8F9ACB
accent
#68DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A83C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C2A83C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva