#CBC562#CBC562

#CBC562 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.122 H 105.7°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CBC562
RGBrgb(203, 197, 98)
HSLhsl(57, 50%, 59%)
HSVhsv(57, 52%, 80%)
CMYKcmyk(0%, 3%, 51.7%, 20.4%)
CIE-LABlab(78.18, -11.10, 49.80)
CIE-LCHlch(78.18, 51.02, 102.57°)
OKLaboklab(80.8% -0.0329 0.1172)
OKLCHoklch(80.8% 0.122 105.7)
XYZxyz(46.8007, 53.5122, 19.4165)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC562 #6268CB
analogous
#CB9162 #CBC562 #9DCB62
triadic
#CBC562 #62CBC5 #C562CB
tetradic
#CBC562 #62CB91 #6268CB #CB629D
square
#CBC562 #62CB91 #6268CB #CB629D
split-complementary
#CBC562 #629DCB #9162CB
monochromatic
#86812C #B4AD3C #CBC562 #DAD690 #E9E7BE

Accessibility & contrast

On white

1.79
#CBC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CBC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC562
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC562#FFFFFF#000000##000000
##CBC5621.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF59
Deuteranopia (green-blind)
#D6C367
Tritanopia (blue-blind)
#D8BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc562;
/* rgb */ color: rgb(203, 197, 98);
/* oklch */ color: oklch(80.8% 0.122 105.7);
Tailwind
colors: {
  custom: {
    50: '#ddd691',
    500: '#cbc562',
    950: '#000000',
  },
}
SCSS
$custom: #cbc562;
$custom-light: #ddd691;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc562",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 56.571,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80802,
    "c": 0.12173,
    "h": 105.7
  },
  "luminance": 0.53511
}

Semantic roles & 50–950 ramp

primary
#CBC562
secondary
#44488D
accent
#56DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC562

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

Preview Lab → · Contrast checker → · Palette generator →

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