#CBD95B#CBD95B

#CBD95B is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.0% C 0.150 H 115.0°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CBD95B
RGBrgb(203, 217, 91)
HSLhsl(67, 62%, 60%)
HSVhsv(67, 58%, 85%)
CMYKcmyk(6.5%, 0%, 58.1%, 14.9%)
CIE-LABlab(83.48, -21.63, 59.05)
CIE-LCHlch(83.48, 62.88, 110.12°)
OKLaboklab(85.01% -0.0635 0.1363)
OKLCHoklch(85.01% 0.15 115)
XYZxyz(51.3308, 63.0783, 19.3668)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD95B #695BD9
analogous
#D9A85B #CBD95B #8CD95B
triadic
#CBD95B #5BCBD9 #D95BCB
tetradic
#CBD95B #5BD9A8 #695BD9 #D95B8C
square
#CBD95B #5BD9A8 #695BD9 #D95B8C
split-complementary
#CBD95B #5B8CD9 #A85BD9
monochromatic
#8A9723 #B7C82E #CBD95B #DBE58D #EBF0BE

Accessibility & contrast

On white

1.54
#CBD95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#CBD95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD95B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD95B#FFFFFF#000000##000000
##CBD95B1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#D7CEBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd95b;
/* rgb */ color: rgb(203, 217, 91);
/* oklch */ color: oklch(85.0% 0.150 115.0);
Tailwind
colors: {
  custom: {
    50: '#dde48e',
    500: '#cbd95b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd95b;
$custom-light: #dde48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd95b",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 66.667,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85014,
    "c": 0.15038,
    "h": 115
  },
  "luminance": 0.63078
}

Semantic roles & 50–950 ramp

primary
#CBD95B
secondary
#473D9B
accent
#1BCA2F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD95B

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

Preview Lab → · Contrast checker → · Palette generator →

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