#C2AE2B#C2AE2B

#C2AE2B is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.143 H 100.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#C2AE2B
RGBrgb(194, 174, 43)
HSLhsl(52, 64%, 46%)
HSVhsv(52, 78%, 76%)
CMYKcmyk(0%, 10.3%, 77.8%, 23.9%)
CIE-LABlab(70.81, -6.43, 64.59)
CIE-LCHlch(70.81, 64.91, 95.69°)
OKLaboklab(74.62% -0.025 0.1407)
OKLCHoklch(74.62% 0.143 100.1)
XYZxyz(37.8221, 41.9177, 8.3837)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AE2B #2B3FC2
analogous
#C2632B #C2AE2B #8BC22B
triadic
#C2AE2B #2BC2AE #AE2BC2
tetradic
#C2AE2B #2BC263 #2B3FC2 #C22B8B
square
#C2AE2B #2BC263 #2B3FC2 #C22B8B
split-complementary
#C2AE2B #2B8BC2 #632BC2
monochromatic
#5E5415 #908120 #C2AE2B #D9C752 #E4D784

Accessibility & contrast

On white

2.24
#C2AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#C2AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AE2B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AE2B#FFFFFF#000000##000000
##C2AE2B1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90A
Deuteranopia (green-blind)
#C5B035
Tritanopia (blue-blind)
#D1A195
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c2ae2b;
/* rgb */ color: rgb(194, 174, 43);
/* oklch */ color: oklch(74.6% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#d9c56f',
    500: '#c2ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #c2ae2b;
$custom-light: #d9c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ae2b",
  "rgb": {
    "r": 194,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 52.053,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74622,
    "c": 0.14286,
    "h": 100.1
  },
  "luminance": 0.41916
}

Semantic roles & 50–950 ramp

primary
#C2AE2B
secondary
#7C87CD
accent
#57E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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