#C2A23B#C2A23B

#C2A23B is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.125 H 91.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C2A23B
RGBrgb(194, 162, 59)
HSLhsl(46, 53%, 50%)
HSVhsv(46, 70%, 76%)
CMYKcmyk(0%, 16.5%, 69.6%, 23.9%)
CIE-LABlab(67.75, 0.66, 55.67)
CIE-LCHlch(67.75, 55.67, 89.32°)
OKLaboklab(72.23% -0.0031 0.1247)
OKLCHoklch(72.23% 0.125 91.4)
XYZxyz(35.9598, 37.6279, 9.5057)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A23B #3B5BC2
analogous
#C25F3B #C2A23B #9FC23B
triadic
#C2A23B #3BC2A2 #A23BC2
tetradic
#C2A23B #3BC25F #3B5BC2 #C23B9F
square
#C2A23B #3BC25F #3B5BC2 #C23B9F
split-complementary
#C2A23B #3B9FC2 #5F3BC2
monochromatic
#64541E #937B2D #C2A23B #D1B969 #E0CF98

Accessibility & contrast

On white

2.46
#C2A23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C2A23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A23B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A23B#FFFFFF#000000##000000
##C2A23B1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A02D
Deuteranopia (green-blind)
#BBA940
Tritanopia (blue-blind)
#D2958D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a23b;
/* rgb */ color: rgb(194, 162, 59);
/* oklch */ color: oklch(72.2% 0.125 91.4);
Tailwind
colors: {
  custom: {
    50: '#d8bd77',
    500: '#c2a23b',
    950: '#000000',
  },
}
SCSS
$custom: #c2a23b;
$custom-light: #d8bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a23b",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 45.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72226,
    "c": 0.12478,
    "h": 91.4
  },
  "luminance": 0.37626
}

Semantic roles & 50–950 ramp

primary
#C2A23B
secondary
#8E9CCB
accent
#6EDD4B
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A23B

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

Preview Lab → · Contrast checker → · Palette generator →

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