#CFB662#CFB662

#CFB662 is a light, moderate yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.108 H 93.2°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CFB662
RGBrgb(207, 182, 98)
HSLhsl(46, 53%, 60%)
HSVhsv(46, 53%, 81%)
CMYKcmyk(0%, 12.1%, 52.7%, 18.8%)
CIE-LABlab(74.58, -1.68, 45.61)
CIE-LCHlch(74.58, 45.64, 92.11°)
OKLaboklab(78.03% -0.006 0.108)
OKLCHoklch(78.03% 0.108 93.2)
XYZxyz(44.6663, 47.6051, 18.3889)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB662 #627BCF
analogous
#CF8062 #CFB662 #B1CF62
triadic
#CFB662 #62CFB6 #B662CF
tetradic
#CFB662 #62CF80 #627BCF #CF62B1
square
#CFB662 #62CF80 #627BCF #CF62B1
split-complementary
#CFB662 #62B1CF #8062CF
monochromatic
#8C762B #BB9D39 #CFB662 #DDCC91 #ECE2C0

Accessibility & contrast

On white

2.00
#CFB662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CFB662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB662
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB662#FFFFFF#000000##000000
##CFB6621.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B35B
Deuteranopia (green-blind)
#CCBB65
Tritanopia (blue-blind)
#DDAAA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb662;
/* rgb */ color: rgb(207, 182, 98);
/* oklch */ color: oklch(78.0% 0.108 93.2);
Tailwind
colors: {
  custom: {
    50: '#e0cb91',
    500: '#cfb662',
    950: '#000000',
  },
}
SCSS
$custom: #cfb662;
$custom-light: #e0cb91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb662",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 98
  },
  "hsl": {
    "h": 46.239,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.7803,
    "c": 0.10817,
    "h": 93.2
  },
  "luminance": 0.47603
}

Semantic roles & 50–950 ramp

primary
#CFB662
secondary
#B1BBDB
accent
#6DDD4B
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #CFB662

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

Preview Lab → · Contrast checker → · Palette generator →

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