#CFB962#CFB962

#CFB962 is a light, moderate yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.111 H 95.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CFB962
RGBrgb(207, 185, 98)
HSLhsl(48, 53%, 60%)
HSVhsv(48, 53%, 81%)
CMYKcmyk(0%, 10.6%, 52.7%, 18.8%)
CIE-LABlab(75.36, -3.25, 46.55)
CIE-LCHlch(75.36, 46.66, 94.00°)
OKLaboklab(78.65% -0.0105 0.11)
OKLCHoklch(78.65% 0.111 95.5)
XYZxyz(45.2873, 48.8471, 18.5959)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB962 #6278CF
analogous
#CF8362 #CFB962 #AFCF62
triadic
#CFB962 #62CFB9 #B962CF
tetradic
#CFB962 #62CF83 #6278CF #CF62AF
square
#CFB962 #62CF83 #6278CF #CF62AF
split-complementary
#CFB962 #62AFCF #8362CF
monochromatic
#8C782B #BBA139 #CFB962 #DDCE91 #ECE3C0

Accessibility & contrast

On white

1.95
#CFB962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CFB962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB962
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB962#FFFFFF#000000##000000
##CFB9621.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B65A
Deuteranopia (green-blind)
#CEBD66
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb962;
/* rgb */ color: rgb(207, 185, 98);
/* oklch */ color: oklch(78.6% 0.111 95.5);
Tailwind
colors: {
  custom: {
    50: '#e0cd91',
    500: '#cfb962',
    950: '#000000',
  },
}
SCSS
$custom: #cfb962;
$custom-light: #e0cd91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb962",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 47.89,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78648,
    "c": 0.11054,
    "h": 95.5
  },
  "luminance": 0.48845
}

Semantic roles & 50–950 ramp

primary
#CFB962
secondary
#B1BADB
accent
#69DD4B
background
#FEFCF9
surface
#FCF9F1
border
#D5D2CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #CFB962

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

Preview Lab → · Contrast checker → · Palette generator →

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