#CBC85F#CBC85F

#CBC85F is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.128 H 107.4°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CBC85F
RGBrgb(203, 200, 95)
HSLhsl(58, 51%, 58%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 1.5%, 53.2%, 20.4%)
CIE-LABlab(78.94, -12.88, 52.10)
CIE-LCHlch(78.94, 53.67, 103.88°)
OKLaboklab(81.4% -0.0383 0.1219)
OKLCHoklch(81.4% 0.128 107.4)
XYZxyz(47.3497, 54.8326, 18.9138)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC85F #5F62CB
analogous
#CB925F #CBC85F #98CB5F
triadic
#CBC85F #5FCBC8 #C85FCB
tetradic
#CBC85F #5FCB92 #5F62CB #CB5F98
square
#CBC85F #5FCB92 #5F62CB #CB5F98
split-complementary
#CBC85F #5F98CB #925FCB
monochromatic
#85822B #B3AF3A #CBC85F #DAD88D #E9E8BB

Accessibility & contrast

On white

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

On black

11.97
#CBC85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC85F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC85F#FFFFFF#000000##000000
##CBC85F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C155
Deuteranopia (green-blind)
#D9C564
Tritanopia (blue-blind)
#D8BDB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc85f;
/* rgb */ color: rgb(203, 200, 95);
/* oklch */ color: oklch(81.4% 0.128 107.4);
Tailwind
colors: {
  custom: {
    50: '#ddd88f',
    500: '#cbc85f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc85f;
$custom-light: #ddd88f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc85f",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 58.333,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81403,
    "c": 0.12776,
    "h": 107.4
  },
  "luminance": 0.54831
}

Semantic roles & 50–950 ramp

primary
#CBC85F
secondary
#42448C
accent
#51DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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