#CFB24D#CFB24D

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

Color values

HEX#CFB24D
RGBrgb(207, 178, 77)
HSLhsl(47, 58%, 56%)
HSVhsv(47, 63%, 81%)
CMYKcmyk(0%, 14%, 62.8%, 18.8%)
CIE-LABlab(73.31, -1.16, 54.10)
CIE-LCHlch(73.31, 54.11, 91.22°)
OKLaboklab(76.96% -0.007 0.1239)
OKLCHoklch(76.96% 0.124 93.2)
XYZxyz(42.9941, 45.6442, 13.5653)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB24D #4D6ACF
analogous
#CF714D #CFB24D #ABCF4D
triadic
#CFB24D #4DCFB2 #B24DCF
tetradic
#CFB24D #4DCF71 #4D6ACF #CF4DAB
square
#CFB24D #4DCF71 #4D6ACF #CF4DAB
split-complementary
#CFB24D #4DABCF #714DCF
monochromatic
#7F6B22 #AF932F #CFB24D #DCC77D #E9DCAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB24D#FFFFFF#000000##000000
##CFB24D1.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)
#C3AF42
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#DFA59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb24d;
/* rgb */ color: rgb(207, 178, 77);
/* oklch */ color: oklch(77.0% 0.124 93.2);
Tailwind
colors: {
  custom: {
    50: '#e1c883',
    500: '#cfb24d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb24d;
$custom-light: #e1c883;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb24d",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 77
  },
  "hsl": {
    "h": 46.615,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76963,
    "c": 0.12408,
    "h": 93.2
  },
  "luminance": 0.45642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB24D

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

Preview Lab → · Contrast checker → · Palette generator →

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