#CBD97E#CBD97E

#CBD97E is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.116 H 116.1°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#CBD97E
RGBrgb(203, 217, 126)
HSLhsl(69, 54%, 67%)
HSVhsv(69, 42%, 85%)
CMYKcmyk(6.5%, 0%, 41.9%, 14.9%)
CIE-LABlab(83.88, -18.42, 43.15)
CIE-LCHlch(83.88, 46.92, 113.12°)
OKLaboklab(85.46% -0.0512 0.1046)
OKLCHoklch(85.46% 0.116 116.1)
XYZxyz(53.2078, 63.8291, 29.2519)
Luminance0.6383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD97E #8C7ED9
analogous
#D9BA7E #CBD97E #9DD97E
triadic
#CBD97E #7ECBD9 #D97ECB
tetradic
#CBD97E #7ED9BA #8C7ED9 #D97E9D
square
#CBD97E #7ED9BA #8C7ED9 #D97E9D
split-complementary
#CBD97E #7E9DD9 #BA7ED9
monochromatic
#98AA32 #B8CB4F #CBD97E #DEE7AD #F1F5DD

Accessibility & contrast

On white

1.53
#CBD97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#CBD97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD97E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD97E#FFFFFF#000000##000000
##CBD97E1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D177
Deuteranopia (green-blind)
#E3D282
Tritanopia (blue-blind)
#D4D0C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cbd97e;
/* rgb */ color: rgb(203, 217, 126);
/* oklch */ color: oklch(85.5% 0.116 116.1);
Tailwind
colors: {
  custom: {
    50: '#dce4a5',
    500: '#cbd97e',
    950: '#000000',
  },
}
SCSS
$custom: #cbd97e;
$custom-light: #dce4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd97e",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 69.231,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85456,
    "c": 0.11643,
    "h": 116.1
  },
  "luminance": 0.63829
}

Semantic roles & 50–950 ramp

primary
#CBD97E
secondary
#5C4EAE
accent
#24C23C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD97E

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

Preview Lab → · Contrast checker → · Palette generator →

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