#CFB24A#CFB24A

#CFB24A is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.126 H 93.6°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CFB24A
RGBrgb(207, 178, 74)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 64%, 81%)
CMYKcmyk(0%, 14%, 64.3%, 18.8%)
CIE-LABlab(73.29, -1.35, 55.41)
CIE-LCHlch(73.29, 55.43, 91.39°)
OKLaboklab(76.93% -0.0079 0.1262)
OKLCHoklch(76.93% 0.126 93.6)
XYZxyz(42.8906, 45.6028, 13.0203)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB24A #4A67CF
analogous
#CF6F4A #CFB24A #AACF4A
triadic
#CFB24A #4ACFB2 #B24ACF
tetradic
#CFB24A #4ACF6F #4A67CF #CF4AAA
square
#CFB24A #4ACF6F #4A67CF #CF4AAA
split-complementary
#CFB24A #4AAACF #6F4ACF
monochromatic
#7D6921 #AE922E #CFB24A #DCC77A #E9DBAB

Accessibility & contrast

On white

2.08
#CFB24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CFB24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB24A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB24A#FFFFFF#000000##000000
##CFB24A1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb24a;
/* rgb */ color: rgb(207, 178, 74);
/* oklch */ color: oklch(76.9% 0.126 93.6);
Tailwind
colors: {
  custom: {
    50: '#e1c881',
    500: '#cfb24a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb24a;
$custom-light: #e1c881;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb24a",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 74
  },
  "hsl": {
    "h": 46.917,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76933,
    "c": 0.12648,
    "h": 93.6
  },
  "luminance": 0.45601
}

Semantic roles & 50–950 ramp

primary
#CFB24A
secondary
#9FABD6
accent
#68E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB24A

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

Preview Lab → · Contrast checker → · Palette generator →

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