#CFB24E#CFB24E

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

Color values

HEX#CFB24E
RGBrgb(207, 178, 78)
HSLhsl(47, 57%, 56%)
HSVhsv(47, 62%, 81%)
CMYKcmyk(0%, 14%, 62.3%, 18.8%)
CIE-LABlab(73.32, -1.09, 53.66)
CIE-LCHlch(73.32, 53.67, 91.16°)
OKLaboklab(76.97% -0.0067 0.1231)
OKLCHoklch(76.97% 0.123 93.1)
XYZxyz(43.0296, 45.6585, 13.7527)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB24E #4E6BCF
analogous
#CF714E #CFB24E #ABCF4E
triadic
#CFB24E #4ECFB2 #B24ECF
tetradic
#CFB24E #4ECF71 #4E6BCF #CF4EAB
square
#CFB24E #4ECF71 #4E6BCF #CF4EAB
split-complementary
#CFB24E #4EABCF #714ECF
monochromatic
#806B23 #B09330 #CFB24E #DCC77E #E9DCAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB24E#FFFFFF#000000##000000
##CFB24E1.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)
#C3AF43
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#DFA59C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb24e;
/* rgb */ color: rgb(207, 178, 78);
/* oklch */ color: oklch(77.0% 0.123 93.1);
Tailwind
colors: {
  custom: {
    50: '#e1c883',
    500: '#cfb24e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb24e;
$custom-light: #e1c883;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb24e",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 78
  },
  "hsl": {
    "h": 46.512,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76973,
    "c": 0.12326,
    "h": 93.1
  },
  "luminance": 0.45656
}

Semantic roles & 50–950 ramp

primary
#CFB24E
secondary
#A2AED7
accent
#6AE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB24E

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

Preview Lab → · Contrast checker → · Palette generator →

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