#C2AE3B#C2AE3B

#C2AE3B is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.133 H 99.2°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#C2AE3B
RGBrgb(194, 174, 59)
HSLhsl(51, 53%, 50%)
HSVhsv(51, 70%, 76%)
CMYKcmyk(0%, 10.3%, 69.6%, 23.9%)
CIE-LABlab(70.91, -5.71, 58.88)
CIE-LCHlch(70.91, 59.16, 95.54°)
OKLaboklab(74.73% -0.0213 0.1316)
OKLCHoklch(74.73% 0.133 99.2)
XYZxyz(38.1754, 42.0590, 10.2442)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AE3B #3B4FC2
analogous
#C26A3B #C2AE3B #93C23B
triadic
#C2AE3B #3BC2AE #AE3BC2
tetradic
#C2AE3B #3BC26A #3B4FC2 #C23B93
square
#C2AE3B #3BC26A #3B4FC2 #C23B93
split-complementary
#C2AE3B #3B93C2 #6A3BC2
monochromatic
#645A1E #93842D #C2AE3B #D1C269 #E0D598

Accessibility & contrast

On white

2.23
#C2AE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#C2AE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AE3B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AE3B#FFFFFF#000000##000000
##C2AE3B1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA92A
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#D1A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2ae3b;
/* rgb */ color: rgb(194, 174, 59);
/* oklch */ color: oklch(74.7% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d8c578',
    500: '#c2ae3b',
    950: '#000000',
  },
}
SCSS
$custom: #c2ae3b;
$custom-light: #d8c578;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ae3b",
  "rgb": {
    "r": 194,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 51.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74731,
    "c": 0.13327,
    "h": 99.2
  },
  "luminance": 0.42057
}

Semantic roles & 50–950 ramp

primary
#C2AE3B
secondary
#8E97CB
accent
#61DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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