#CFB24F#CFB24F

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

Color values

HEX#CFB24F
RGBrgb(207, 178, 79)
HSLhsl(46, 57%, 56%)
HSVhsv(46, 62%, 81%)
CMYKcmyk(0%, 14%, 61.8%, 18.8%)
CIE-LABlab(73.33, -1.02, 53.21)
CIE-LCHlch(73.33, 53.22, 91.10°)
OKLaboklab(76.98% -0.0063 0.1223)
OKLCHoklch(76.98% 0.122 93)
XYZxyz(43.0658, 45.6729, 13.9430)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB24F #4F6CCF
analogous
#CF724F #CFB24F #ACCF4F
triadic
#CFB24F #4FCFB2 #B24FCF
tetradic
#CFB24F #4FCF72 #4F6CCF #CF4FAC
square
#CFB24F #4FCF72 #4F6CCF #CF4FAC
split-complementary
#CFB24F #4FACCF #724FCF
monochromatic
#816B23 #B19430 #CFB24F #DCC77F #E9DCAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cfb24f;
/* rgb */ color: rgb(207, 178, 79);
/* oklch */ color: oklch(77.0% 0.122 93.0);
Tailwind
colors: {
  custom: {
    50: '#e1c884',
    500: '#cfb24f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb24f;
$custom-light: #e1c884;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb24f",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 79
  },
  "hsl": {
    "h": 46.406,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76983,
    "c": 0.12243,
    "h": 93
  },
  "luminance": 0.45671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB24F

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

Preview Lab → · Contrast checker → · Palette generator →

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