#CFB64F#CFB64F

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

Color values

HEX#CFB64F
RGBrgb(207, 182, 79)
HSLhsl(48, 57%, 56%)
HSVhsv(48, 62%, 81%)
CMYKcmyk(0%, 12.1%, 61.8%, 18.8%)
CIE-LABlab(74.37, -3.12, 54.36)
CIE-LCHlch(74.37, 54.45, 93.29°)
OKLaboklab(77.81% -0.0124 0.1247)
OKLCHoklch(77.81% 0.125 95.7)
XYZxyz(43.8733, 47.2879, 14.2122)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB64F #4F68CF
analogous
#CF764F #CFB64F #A8CF4F
triadic
#CFB64F #4FCFB6 #B64FCF
tetradic
#CFB64F #4FCF76 #4F68CF #CF4FA8
square
#CFB64F #4FCF76 #4F68CF #CF4FA8
split-complementary
#CFB64F #4FA8CF #764FCF
monochromatic
#816E23 #B19830 #CFB64F #DCCA7F #E9DEAF

Accessibility & contrast

On white

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

On black

10.46
#CFB64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB64F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB64F#FFFFFF#000000##000000
##CFB64F1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb64f;
/* rgb */ color: rgb(207, 182, 79);
/* oklch */ color: oklch(77.8% 0.125 95.7);
Tailwind
colors: {
  custom: {
    50: '#e1cb84',
    500: '#cfb64f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb64f;
$custom-light: #e1cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb64f",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 48.281,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77806,
    "c": 0.12533,
    "h": 95.7
  },
  "luminance": 0.47286
}

Semantic roles & 50–950 ramp

primary
#CFB64F
secondary
#A2ADD7
accent
#65E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB64F

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

Preview Lab → · Contrast checker → · Palette generator →

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