#CFB64A#CFB64A

#CFB64A is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.129 H 96.2°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CFB64A
RGBrgb(207, 182, 74)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 64%, 81%)
CMYKcmyk(0%, 12.1%, 64.3%, 18.8%)
CIE-LABlab(74.33, -3.45, 56.53)
CIE-LCHlch(74.33, 56.64, 93.49°)
OKLaboklab(77.76% -0.0139 0.1286)
OKLCHoklch(77.76% 0.129 96.2)
XYZxyz(43.6981, 47.2178, 13.2895)
Luminance0.4722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB64A #4A63CF
analogous
#CF744A #CFB64A #A5CF4A
triadic
#CFB64A #4ACFB6 #B64ACF
tetradic
#CFB64A #4ACF74 #4A63CF #CF4AA5
square
#CFB64A #4ACF74 #4A63CF #CF4AA5
split-complementary
#CFB64A #4AA5CF #744ACF
monochromatic
#7D6C21 #AE962E #CFB64A #DCCA7A #E9DDAB

Accessibility & contrast

On white

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

On black

10.44
#CFB64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB64A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB64A#FFFFFF#000000##000000
##CFB64A1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23D
Deuteranopia (green-blind)
#CEBA4F
Tritanopia (blue-blind)
#DFA99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb64a;
/* rgb */ color: rgb(207, 182, 74);
/* oklch */ color: oklch(77.8% 0.129 96.2);
Tailwind
colors: {
  custom: {
    50: '#e1cb81',
    500: '#cfb64a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb64a;
$custom-light: #e1cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb64a",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 48.722,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77756,
    "c": 0.12936,
    "h": 96.2
  },
  "luminance": 0.47216
}

Semantic roles & 50–950 ramp

primary
#CFB64A
secondary
#9FA9D6
accent
#64E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB64A

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

Preview Lab → · Contrast checker → · Palette generator →

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