#CBD797#CBD797

#CBD797 is a very light, moderate yellow-green. Relative luminance 0.635; OKLCH L 85.5% C 0.085 H 116.9°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CBD797
RGBrgb(203, 215, 151)
HSLhsl(71, 44%, 72%)
HSVhsv(71, 30%, 84%)
CMYKcmyk(5.6%, 0%, 29.8%, 15.7%)
CIE-LABlab(83.72, -14.41, 30.31)
CIE-LCHlch(83.72, 33.56, 115.42°)
OKLaboklab(85.46% -0.0384 0.0758)
OKLCHoklch(85.46% 0.085 116.9)
XYZxyz(54.5148, 63.5321, 38.6632)
Luminance0.6353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD797 #A397D7
analogous
#D7C397 #CBD797 #ABD797
triadic
#CBD797 #97CBD7 #D797CB
tetradic
#CBD797 #97D7C3 #A397D7 #D797AB
square
#CBD797 #97D7C3 #A397D7 #D797AB
split-complementary
#CBD797 #97ABD7 #C397D7
monochromatic
#9CB044 #B5C66B #CBD797 #E1E8C3 #F4F6E9

Accessibility & contrast

On white

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

On black

13.71
#CBD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD797
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD797#FFFFFF#000000##000000
##CBD7971.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D093
Deuteranopia (green-blind)
#DED19A
Tritanopia (blue-blind)
#D2D0C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cbd797;
/* rgb */ color: rgb(203, 215, 151);
/* oklch */ color: oklch(85.5% 0.085 116.9);
Tailwind
colors: {
  custom: {
    50: '#dbe3b6',
    500: '#cbd797',
    950: '#000000',
  },
}
SCSS
$custom: #cbd797;
$custom-light: #dbe3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd797",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 71.25,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85456,
    "c": 0.08499,
    "h": 116.9
  },
  "luminance": 0.63532
}

Semantic roles & 50–950 ramp

primary
#CBD797
secondary
#7264AE
accent
#2EB848
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBD797

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

Preview Lab → · Contrast checker → · Palette generator →

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