#CBD87F#CBD87F

#CBD87F is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.114 H 115.7°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CBD87F
RGBrgb(203, 216, 127)
HSLhsl(69, 53%, 67%)
HSVhsv(69, 41%, 85%)
CMYKcmyk(6%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.62, -17.82, 42.34)
CIE-LCHlch(83.62, 45.93, 112.83°)
OKLaboklab(85.26% -0.0494 0.1028)
OKLCHoklch(85.26% 0.114 115.7)
XYZxyz(53.0156, 63.3411, 29.5077)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD87F #8C7FD8
analogous
#D8B97F #CBD87F #9FD87F
triadic
#CBD87F #7FCBD8 #D87FCB
tetradic
#CBD87F #7FD8B9 #8C7FD8 #D87F9F
square
#CBD87F #7FD8B9 #8C7FD8 #D87F9F
split-complementary
#CBD87F #7F9FD8 #B97FD8
monochromatic
#98A934 #B8CA50 #CBD87F #DEE6AE #F1F5DD

Accessibility & contrast

On white

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

On black

13.67
#CBD87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD87F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD87F#FFFFFF#000000##000000
##CBD87F1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D078
Deuteranopia (green-blind)
#E2D183
Tritanopia (blue-blind)
#D4CFC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd87f;
/* rgb */ color: rgb(203, 216, 127);
/* oklch */ color: oklch(85.3% 0.114 115.7);
Tailwind
colors: {
  custom: {
    50: '#dce4a5',
    500: '#cbd87f',
    950: '#000000',
  },
}
SCSS
$custom: #cbd87f;
$custom-light: #dce4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd87f",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 68.764,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85257,
    "c": 0.11404,
    "h": 115.7
  },
  "luminance": 0.63341
}

Semantic roles & 50–950 ramp

primary
#CBD87F
secondary
#5C4FAC
accent
#25C13C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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