#CBD799#CBD799

#CBD799 is a very light, moderate yellow-green. Relative luminance 0.636; OKLCH L 85.5% C 0.083 H 117.1°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#CBD799
RGBrgb(203, 215, 153)
HSLhsl(72, 44%, 72%)
HSVhsv(72, 29%, 84%)
CMYKcmyk(5.6%, 0%, 28.8%, 15.7%)
CIE-LABlab(83.76, -14.14, 29.32)
CIE-LCHlch(83.76, 32.55, 115.74°)
OKLaboklab(85.5% -0.0376 0.0735)
OKLCHoklch(85.5% 0.083 117.1)
XYZxyz(54.6786, 63.5976, 39.5259)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD799 #A599D7
analogous
#D7C499 #CBD799 #ACD799
triadic
#CBD799 #99CBD7 #D799CB
tetradic
#CBD799 #99D7C4 #A599D7 #D799AC
square
#CBD799 #99D7C4 #A599D7 #D799AC
split-complementary
#CBD799 #99ACD7 #C499D7
monochromatic
#9CB045 #B5C66D #CBD799 #E1E8C5 #F4F6E9

Accessibility & contrast

On white

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

On black

13.72
#CBD799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD799
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD799#FFFFFF#000000##000000
##CBD7991.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD195
Deuteranopia (green-blind)
#DED19C
Tritanopia (blue-blind)
#D1D0C7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cbd799;
/* rgb */ color: rgb(203, 215, 153);
/* oklch */ color: oklch(85.5% 0.083 117.1);
Tailwind
colors: {
  custom: {
    50: '#dbe3b7',
    500: '#cbd799',
    950: '#000000',
  },
}
SCSS
$custom: #cbd799;
$custom-light: #dbe3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd799",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 71.613,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85495,
    "c": 0.08257,
    "h": 117.1
  },
  "luminance": 0.63597
}

Semantic roles & 50–950 ramp

primary
#CBD799
secondary
#7466AE
accent
#2FB749
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBD799

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

Preview Lab → · Contrast checker → · Palette generator →

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