#CBE997#CBE997

#CBE997 is a very light, moderate yellow-green. Relative luminance 0.732; OKLCH L 89.3% C 0.111 H 124.9°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#CBE997
RGBrgb(203, 233, 151)
HSLhsl(82, 65%, 75%)
HSVhsv(82, 35%, 91%)
CMYKcmyk(12.9%, 0%, 35.2%, 8.6%)
CIE-LABlab(88.55, -23.26, 36.69)
CIE-LCHlch(88.55, 43.44, 122.38°)
OKLaboklab(89.31% -0.0634 0.0908)
OKLCHoklch(89.31% 0.111 124.9)
XYZxyz(59.3529, 73.2084, 40.2759)
Luminance0.7321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE997 #B597E9
analogous
#E9DE97 #CBE997 #A2E997
triadic
#CBE997 #97CBE9 #E997CB
tetradic
#CBE997 #97E9DE #B597E9 #E997A2
square
#CBE997 #97E9DE #B597E9 #E997A2
split-complementary
#CBE997 #97A2E9 #DE97E9
monochromatic
#98D432 #B2DE64 #CBE997 #E4F4CA #F2FAE6

Accessibility & contrast

On white

1.34
#CBE997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#CBE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE997
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE997#FFFFFF#000000##000000
##CBE9971.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DF91
Deuteranopia (green-blind)
#EDDE9B
Tritanopia (blue-blind)
#D0E2D4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cbe997;
/* rgb */ color: rgb(203, 233, 151);
/* oklch */ color: oklch(89.3% 0.111 124.9);
Tailwind
colors: {
  custom: {
    50: '#dcf0b6',
    500: '#cbe997',
    950: '#000000',
  },
}
SCSS
$custom: #cbe997;
$custom-light: #dcf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe997",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 81.951,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89308,
    "c": 0.11076,
    "h": 124.9
  },
  "luminance": 0.73209
}

Semantic roles & 50–950 ramp

primary
#CBE997
secondary
#8560C4
accent
#19CD5B
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CBE997

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

Preview Lab → · Contrast checker → · Palette generator →

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