#CBD85C#CBD85C

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

Color values

HEX#CBD85C
RGBrgb(203, 216, 92)
HSLhsl(66, 61%, 60%)
HSVhsv(66, 57%, 85%)
CMYKcmyk(6%, 0%, 57.4%, 15.3%)
CIE-LABlab(83.22, -21.07, 58.32)
CIE-LCHlch(83.22, 62.01, 109.86°)
OKLaboklab(84.81% -0.0618 0.1349)
OKLCHoklch(84.81% 0.148 114.6)
XYZxyz(51.1173, 62.5818, 19.5098)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD85C #695CD8
analogous
#D8A75C #CBD85C #8DD85C
triadic
#CBD85C #5CCBD8 #D85CCB
tetradic
#CBD85C #5CD8A7 #695CD8 #D85C8D
square
#CBD85C #5CD8A7 #695CD8 #D85C8D
split-complementary
#CBD85C #5C8DD8 #A75CD8
monochromatic
#8A9624 #B7C730 #CBD85C #DBE48D #EBF0BF

Accessibility & contrast

On white

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

On black

13.52
#CBD85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD85C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD85C#FFFFFF#000000##000000
##CBD85C1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd85c;
/* rgb */ color: rgb(203, 216, 92);
/* oklch */ color: oklch(84.8% 0.148 114.6);
Tailwind
colors: {
  custom: {
    50: '#dde48e',
    500: '#cbd85c',
    950: '#000000',
  },
}
SCSS
$custom: #cbd85c;
$custom-light: #dde48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd85c",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 92
  },
  "hsl": {
    "h": 66.29,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84808,
    "c": 0.14836,
    "h": 114.6
  },
  "luminance": 0.62581
}

Semantic roles & 50–950 ramp

primary
#CBD85C
secondary
#473E9B
accent
#1CC92F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD85C

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

Preview Lab → · Contrast checker → · Palette generator →

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