#CFB64E#CFB64E

#CFB64E is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.126 H 95.8°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#CFB64E
RGBrgb(207, 182, 78)
HSLhsl(48, 57%, 56%)
HSVhsv(48, 62%, 81%)
CMYKcmyk(0%, 12.1%, 62.3%, 18.8%)
CIE-LABlab(74.36, -3.19, 54.80)
CIE-LCHlch(74.36, 54.90, 93.33°)
OKLaboklab(77.8% -0.0127 0.1255)
OKLCHoklch(77.8% 0.126 95.8)
XYZxyz(43.8371, 47.2735, 14.0219)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB64E #4E67CF
analogous
#CF754E #CFB64E #A7CF4E
triadic
#CFB64E #4ECFB6 #B64ECF
tetradic
#CFB64E #4ECF75 #4E67CF #CF4EA7
square
#CFB64E #4ECF75 #4E67CF #CF4EA7
split-complementary
#CFB64E #4EA7CF #754ECF
monochromatic
#806E23 #B09730 #CFB64E #DCCA7E #E9DEAE

Accessibility & contrast

On white

2.01
#CFB64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#CFB64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB64E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB64E#FFFFFF#000000##000000
##CFB64E1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#CEBA53
Tritanopia (blue-blind)
#DEA9A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb64e;
/* rgb */ color: rgb(207, 182, 78);
/* oklch */ color: oklch(77.8% 0.126 95.8);
Tailwind
colors: {
  custom: {
    50: '#e1cb84',
    500: '#cfb64e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb64e;
$custom-light: #e1cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb64e",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 48.372,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.12616,
    "h": 95.8
  },
  "luminance": 0.47271
}

Semantic roles & 50–950 ramp

primary
#CFB64E
secondary
#A2ACD7
accent
#65E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB64E

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

Preview Lab → · Contrast checker → · Palette generator →

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