#CFB562#CFB562

#CFB562 is a light, moderate yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.107 H 92.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CFB562
RGBrgb(207, 181, 98)
HSLhsl(46, 53%, 60%)
HSVhsv(46, 53%, 81%)
CMYKcmyk(0%, 12.6%, 52.7%, 18.8%)
CIE-LABlab(74.32, -1.15, 45.30)
CIE-LCHlch(74.32, 45.32, 91.46°)
OKLaboklab(77.83% -0.0045 0.1073)
OKLCHoklch(77.83% 0.107 92.4)
XYZxyz(44.4623, 47.1970, 18.3208)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB562 #627CCF
analogous
#CF7E62 #CFB562 #B3CF62
triadic
#CFB562 #62CFB5 #B562CF
tetradic
#CFB562 #62CF7E #627CCF #CF62B3
square
#CFB562 #62CF7E #627CCF #CF62B3
split-complementary
#CFB562 #62B3CF #7E62CF
monochromatic
#8C752B #BB9C39 #CFB562 #DDCB91 #ECE1C0

Accessibility & contrast

On white

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

On black

10.44
#CFB562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB562
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB562#FFFFFF#000000##000000
##CFB5621.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B25B
Deuteranopia (green-blind)
#CBBA65
Tritanopia (blue-blind)
#DDA9A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb562;
/* rgb */ color: rgb(207, 181, 98);
/* oklch */ color: oklch(77.8% 0.107 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0ca90',
    500: '#cfb562',
    950: '#000000',
  },
}
SCSS
$custom: #cfb562;
$custom-light: #e0ca90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb562",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 45.688,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77825,
    "c": 0.1074,
    "h": 92.4
  },
  "luminance": 0.47195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB562

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

Preview Lab → · Contrast checker → · Palette generator →

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