#CBD85B#CBD85B

#CBD85B is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.149 H 114.6°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#CBD85B
RGBrgb(203, 216, 91)
HSLhsl(66, 62%, 60%)
HSVhsv(66, 58%, 85%)
CMYKcmyk(6%, 0%, 57.9%, 15.3%)
CIE-LABlab(83.21, -21.14, 58.75)
CIE-LCHlch(83.21, 62.44, 109.80°)
OKLaboklab(84.8% -0.0621 0.1357)
OKLCHoklch(84.8% 0.149 114.6)
XYZxyz(51.0739, 62.5644, 19.2811)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD85B #685BD8
analogous
#D8A65B #CBD85B #8CD85B
triadic
#CBD85B #5BCBD8 #D85BCB
tetradic
#CBD85B #5BD8A6 #685BD8 #D85B8C
square
#CBD85B #5BD8A6 #685BD8 #D85B8C
split-complementary
#CBD85B #5B8CD8 #A65BD8
monochromatic
#899523 #B7C72F #CBD85B #DBE48C #EAF0BE

Accessibility & contrast

On white

1.55
#CBD85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#CBD85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD85B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD85B#FFFFFF#000000##000000
##CBD85B1.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4D
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#D7CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cbd85b;
/* rgb */ color: rgb(203, 216, 91);
/* oklch */ color: oklch(84.8% 0.149 114.6);
Tailwind
colors: {
  custom: {
    50: '#dde48e',
    500: '#cbd85b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd85b;
$custom-light: #dde48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd85b",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 66.24,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84797,
    "c": 0.14922,
    "h": 114.6
  },
  "luminance": 0.62564
}

Semantic roles & 50–950 ramp

primary
#CBD85B
secondary
#473D9A
accent
#1CC92E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD85B

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

Preview Lab → · Contrast checker → · Palette generator →

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