#CFB24B#CFB24B

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

Color values

HEX#CFB24B
RGBrgb(207, 178, 75)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 64%, 81%)
CMYKcmyk(0%, 14%, 63.8%, 18.8%)
CIE-LABlab(73.30, -1.28, 54.98)
CIE-LCHlch(73.30, 54.99, 91.34°)
OKLaboklab(76.94% -0.0076 0.1255)
OKLCHoklch(76.94% 0.126 93.5)
XYZxyz(42.9245, 45.6164, 13.1991)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB24B #4B68CF
analogous
#CF704B #CFB24B #AACF4B
triadic
#CFB24B #4BCFB2 #B24BCF
tetradic
#CFB24B #4BCF70 #4B68CF #CF4BAA
square
#CFB24B #4BCF70 #4B68CF #CF4BAA
split-complementary
#CFB24B #4BAACF #704BCF
monochromatic
#7E6A22 #AE922E #CFB24B #DCC77B #E9DBAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB24B#FFFFFF#000000##000000
##CFB24B1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb24b;
/* rgb */ color: rgb(207, 178, 75);
/* oklch */ color: oklch(76.9% 0.126 93.5);
Tailwind
colors: {
  custom: {
    50: '#e1c882',
    500: '#cfb24b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb24b;
$custom-light: #e1c882;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb24b",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 75
  },
  "hsl": {
    "h": 46.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76942,
    "c": 0.12569,
    "h": 93.5
  },
  "luminance": 0.45614
}

Semantic roles & 50–950 ramp

primary
#CFB24B
secondary
#9FABD6
accent
#69E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB24B

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

Preview Lab → · Contrast checker → · Palette generator →

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