#CBC062#CBC062

#CBC062 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.117 H 102.7°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CBC062
RGBrgb(203, 192, 98)
HSLhsl(54, 50%, 59%)
HSVhsv(54, 52%, 80%)
CMYKcmyk(0%, 5.4%, 51.7%, 20.4%)
CIE-LABlab(76.85, -8.54, 48.23)
CIE-LCHlch(76.85, 48.98, 100.04°)
OKLaboklab(79.75% -0.0255 0.1138)
OKLCHoklch(79.75% 0.117 102.7)
XYZxyz(45.6842, 51.2792, 19.0443)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC062 #626DCB
analogous
#CB8C62 #CBC062 #A2CB62
triadic
#CBC062 #62CBC0 #C062CB
tetradic
#CBC062 #62CB8C #626DCB #CB62A2
square
#CBC062 #62CB8C #626DCB #CB62A2
split-complementary
#CBC062 #62A2CB #8C62CB
monochromatic
#867D2C #B4A83C #CBC062 #DAD290 #E9E5BE

Accessibility & contrast

On white

1.87
#CBC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CBC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC062
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC062#FFFFFF#000000##000000
##CBC0621.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#D8B5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc062;
/* rgb */ color: rgb(203, 192, 98);
/* oklch */ color: oklch(79.7% 0.117 102.7);
Tailwind
colors: {
  custom: {
    50: '#ddd291',
    500: '#cbc062',
    950: '#000000',
  },
}
SCSS
$custom: #cbc062;
$custom-light: #ddd291;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc062",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 53.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79746,
    "c": 0.11662,
    "h": 102.7
  },
  "luminance": 0.51278
}

Semantic roles & 50–950 ramp

primary
#CBC062
secondary
#444C8D
accent
#5DDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC062

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

Preview Lab → · Contrast checker → · Palette generator →

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