#CBD95F#CBD95F

#CBD95F is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.147 H 115.1°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CBD95F
RGBrgb(203, 217, 95)
HSLhsl(67, 62%, 61%)
HSVhsv(67, 56%, 85%)
CMYKcmyk(6.5%, 0%, 56.2%, 14.9%)
CIE-LABlab(83.52, -21.32, 57.33)
CIE-LCHlch(83.52, 61.17, 110.40°)
OKLaboklab(85.06% -0.0622 0.1331)
OKLCHoklch(85.06% 0.147 115.1)
XYZxyz(51.5080, 63.1492, 20.2999)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD95F #6D5FD9
analogous
#D9AA5F #CBD95F #8ED95F
triadic
#CBD95F #5FCBD9 #D95FCB
tetradic
#CBD95F #5FD9AA #6D5FD9 #D95F8E
square
#CBD95F #5FD9AA #6D5FD9 #D95F8E
split-complementary
#CBD95F #5F8ED9 #AA5FD9
monochromatic
#8C9924 #B9CB30 #CBD95F #DBE590 #EBF0C2

Accessibility & contrast

On white

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

On black

13.63
#CBD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD95F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD95F#FFFFFF#000000##000000
##CBD95F1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd95f;
/* rgb */ color: rgb(203, 217, 95);
/* oklch */ color: oklch(85.1% 0.147 115.1);
Tailwind
colors: {
  custom: {
    50: '#dde490',
    500: '#cbd95f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd95f;
$custom-light: #dde490;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd95f",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 66.885,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85056,
    "c": 0.14694,
    "h": 115.1
  },
  "luminance": 0.63148
}

Semantic roles & 50–950 ramp

primary
#CBD95F
secondary
#4A3F9E
accent
#1CC930
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CBD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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