#CBE397#CBE397

#CBE397 is a very light, moderate yellow-green. Relative luminance 0.699; OKLCH L 88.0% C 0.102 H 122.7°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#CBE397
RGBrgb(203, 227, 151)
HSLhsl(79, 58%, 74%)
HSVhsv(79, 33%, 89%)
CMYKcmyk(10.6%, 0%, 33.5%, 11%)
CIE-LABlab(86.93, -20.35, 34.57)
CIE-LCHlch(86.93, 40.11, 120.49°)
OKLaboklab(88.02% -0.0552 0.0859)
OKLCHoklch(88.02% 0.102 122.7)
XYZxyz(57.6832, 69.8690, 39.7193)
Luminance0.6987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE397 #AF97E3
analogous
#E3D597 #CBE397 #A5E397
triadic
#CBE397 #97CBE3 #E397CB
tetradic
#CBE397 #97E3D5 #AF97E3 #E397A5
square
#CBE397 #97E3D5 #AF97E3 #E397A5
split-complementary
#CBE397 #97A5E3 #D597E3
monochromatic
#9BC937 #B3D667 #CBE397 #E3F0C7 #F3F9E7

Accessibility & contrast

On white

1.40
#CBE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#CBE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE397
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE397#FFFFFF#000000##000000
##CBE3971.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA92
Deuteranopia (green-blind)
#E8DA9B
Tritanopia (blue-blind)
#D1DCD0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cbe397;
/* rgb */ color: rgb(203, 227, 151);
/* oklch */ color: oklch(88.0% 0.102 122.7);
Tailwind
colors: {
  custom: {
    50: '#dbebb6',
    500: '#cbe397',
    950: '#000000',
  },
}
SCSS
$custom: #cbe397;
$custom-light: #dbebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe397",
  "rgb": {
    "r": 203,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 78.947,
    "s": 57.576,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88017,
    "c": 0.10208,
    "h": 122.7
  },
  "luminance": 0.69869
}

Semantic roles & 50–950 ramp

primary
#CBE397
secondary
#7E62BC
accent
#20C554
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CBE397

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

Preview Lab → · Contrast checker → · Palette generator →

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