#CFB64C#CFB64C

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

Color values

HEX#CFB64C
RGBrgb(207, 182, 76)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 63%, 81%)
CMYKcmyk(0%, 12.1%, 63.3%, 18.8%)
CIE-LABlab(74.35, -3.32, 55.67)
CIE-LCHlch(74.35, 55.77, 93.41°)
OKLaboklab(77.78% -0.0133 0.1271)
OKLCHoklch(77.78% 0.128 96)
XYZxyz(43.7665, 47.2452, 13.6500)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB64C #4C65CF
analogous
#CF754C #CFB64C #A6CF4C
triadic
#CFB64C #4CCFB6 #B64CCF
tetradic
#CFB64C #4CCF75 #4C65CF #CF4CA6
square
#CFB64C #4CCF75 #4C65CF #CF4CA6
split-complementary
#CFB64C #4CA6CF #754CCF
monochromatic
#7F6D22 #AF962F #CFB64C #DCCA7C #E9DDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB64C#FFFFFF#000000##000000
##CFB64C1.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)
#C7B240
Deuteranopia (green-blind)
#CEBA51
Tritanopia (blue-blind)
#DFA99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb64c;
/* rgb */ color: rgb(207, 182, 76);
/* oklch */ color: oklch(77.8% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#e1cb82',
    500: '#cfb64c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb64c;
$custom-light: #e1cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb64c",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 76
  },
  "hsl": {
    "h": 48.55,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77776,
    "c": 0.12778,
    "h": 96
  },
  "luminance": 0.47243
}

Semantic roles & 50–950 ramp

primary
#CFB64C
secondary
#A0ABD7
accent
#64E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB64C

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

Preview Lab → · Contrast checker → · Palette generator →

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