#CFB64B#CFB64B

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

Color values

HEX#CFB64B
RGBrgb(207, 182, 75)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 64%, 81%)
CMYKcmyk(0%, 12.1%, 63.8%, 18.8%)
CIE-LABlab(74.34, -3.38, 56.10)
CIE-LCHlch(74.34, 56.21, 93.45°)
OKLaboklab(77.77% -0.0136 0.1279)
OKLCHoklch(77.77% 0.129 96.1)
XYZxyz(43.7320, 47.2314, 13.4683)
Luminance0.4723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB64B #4B64CF
analogous
#CF744B #CFB64B #A6CF4B
triadic
#CFB64B #4BCFB6 #B64BCF
tetradic
#CFB64B #4BCF74 #4B64CF #CF4BA6
square
#CFB64B #4BCF74 #4B64CF #CF4BA6
split-complementary
#CFB64B #4BA6CF #744BCF
monochromatic
#7E6C22 #AE962E #CFB64B #DCCA7B #E9DDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB64B#FFFFFF#000000##000000
##CFB64B1.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)
#C7B23F
Deuteranopia (green-blind)
#CEBA50
Tritanopia (blue-blind)
#DFA99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb64b;
/* rgb */ color: rgb(207, 182, 75);
/* oklch */ color: oklch(77.8% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#e1cb82',
    500: '#cfb64b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb64b;
$custom-light: #e1cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb64b",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 75
  },
  "hsl": {
    "h": 48.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77766,
    "c": 0.12857,
    "h": 96.1
  },
  "luminance": 0.47229
}

Semantic roles & 50–950 ramp

primary
#CFB64B
secondary
#9FAAD6
accent
#64E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB64B

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

Preview Lab → · Contrast checker → · Palette generator →

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