#CFB24C#CFB24C

#CFB24C is a light, vivid yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.125 H 93.3°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CFB24C
RGBrgb(207, 178, 76)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 63%, 81%)
CMYKcmyk(0%, 14%, 63.3%, 18.8%)
CIE-LABlab(73.30, -1.22, 54.54)
CIE-LCHlch(73.30, 54.55, 91.28°)
OKLaboklab(76.95% -0.0073 0.1247)
OKLCHoklch(76.95% 0.125 93.3)
XYZxyz(42.9590, 45.6302, 13.3808)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB24C #4C69CF
analogous
#CF714C #CFB24C #AACF4C
triadic
#CFB24C #4CCFB2 #B24CCF
tetradic
#CFB24C #4CCF71 #4C69CF #CF4CAA
square
#CFB24C #4CCF71 #4C69CF #CF4CAA
split-complementary
#CFB24C #4CAACF #714CCF
monochromatic
#7F6A22 #AF932F #CFB24C #DCC77C #E9DCAD

Accessibility & contrast

On white

2.07
#CFB24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CFB24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB24C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB24C#FFFFFF#000000##000000
##CFB24C1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF41
Deuteranopia (green-blind)
#CBB851
Tritanopia (blue-blind)
#DFA59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb24c;
/* rgb */ color: rgb(207, 178, 76);
/* oklch */ color: oklch(77.0% 0.125 93.3);
Tailwind
colors: {
  custom: {
    50: '#e1c882',
    500: '#cfb24c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb24c;
$custom-light: #e1c882;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb24c",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 76
  },
  "hsl": {
    "h": 46.718,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76952,
    "c": 0.12488,
    "h": 93.3
  },
  "luminance": 0.45628
}

Semantic roles & 50–950 ramp

primary
#CFB24C
secondary
#A0ACD7
accent
#69E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB24C

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

Preview Lab → · Contrast checker → · Palette generator →

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