#CBC862#CBC862

#CBC862 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.125 H 107.3°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CBC862
RGBrgb(203, 200, 98)
HSLhsl(58, 50%, 59%)
HSVhsv(58, 52%, 80%)
CMYKcmyk(0%, 1.5%, 51.7%, 20.4%)
CIE-LABlab(78.98, -12.63, 50.74)
CIE-LCHlch(78.98, 52.29, 103.98°)
OKLaboklab(81.44% -0.0372 0.1192)
OKLCHoklch(81.44% 0.125 107.3)
XYZxyz(47.4887, 54.8882, 19.6458)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC862 #6265CB
analogous
#CB9462 #CBC862 #9ACB62
triadic
#CBC862 #62CBC8 #C862CB
tetradic
#CBC862 #62CB94 #6265CB #CB629A
square
#CBC862 #62CB94 #6265CB #CB629A
split-complementary
#CBC862 #629ACB #9462CB
monochromatic
#86842C #B4B13C #CBC862 #DAD890 #E9E8BE

Accessibility & contrast

On white

1.75
#CBC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CBC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC862
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC862#FFFFFF#000000##000000
##CBC8621.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C158
Deuteranopia (green-blind)
#D8C567
Tritanopia (blue-blind)
#D8BDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc862;
/* rgb */ color: rgb(203, 200, 98);
/* oklch */ color: oklch(81.4% 0.125 107.3);
Tailwind
colors: {
  custom: {
    50: '#ddd891',
    500: '#cbc862',
    950: '#000000',
  },
}
SCSS
$custom: #cbc862;
$custom-light: #ddd891;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc862",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 58.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81438,
    "c": 0.12491,
    "h": 107.3
  },
  "luminance": 0.54887
}

Semantic roles & 50–950 ramp

primary
#CBC862
secondary
#44468D
accent
#52DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC862

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

Preview Lab → · Contrast checker → · Palette generator →

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