#CBC462#CBC462

#CBC462 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.121 H 105.1°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CBC462
RGBrgb(203, 196, 98)
HSLhsl(56, 50%, 59%)
HSVhsv(56, 52%, 80%)
CMYKcmyk(0%, 3.4%, 51.7%, 20.4%)
CIE-LABlab(77.91, -10.59, 49.49)
CIE-LCHlch(77.91, 50.61, 102.08°)
OKLaboklab(80.59% -0.0314 0.1165)
OKLCHoklch(80.59% 0.121 105.1)
XYZxyz(46.5744, 53.0596, 19.3411)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC462 #6269CB
analogous
#CB9062 #CBC462 #9ECB62
triadic
#CBC462 #62CBC4 #C462CB
tetradic
#CBC462 #62CB90 #6269CB #CB629E
square
#CBC462 #62CB90 #6269CB #CB629E
split-complementary
#CBC462 #629ECB #9062CB
monochromatic
#86802C #B4AC3C #CBC462 #DAD590 #E9E7BE

Accessibility & contrast

On white

1.81
#CBC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CBC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC462
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC462#FFFFFF#000000##000000
##CBC4621.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D5C367
Tritanopia (blue-blind)
#D8B9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc462;
/* rgb */ color: rgb(203, 196, 98);
/* oklch */ color: oklch(80.6% 0.121 105.1);
Tailwind
colors: {
  custom: {
    50: '#ddd591',
    500: '#cbc462',
    950: '#000000',
  },
}
SCSS
$custom: #cbc462;
$custom-light: #ddd591;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc462",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 56,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8059,
    "c": 0.12068,
    "h": 105.1
  },
  "luminance": 0.53058
}

Semantic roles & 50–950 ramp

primary
#CBC462
secondary
#44498D
accent
#57DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC462

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

Preview Lab → · Contrast checker → · Palette generator →

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