#CBD397#CBD397

#CBD397 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.079 H 114.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#CBD397
RGBrgb(203, 211, 151)
HSLhsl(68, 41%, 71%)
HSVhsv(68, 28%, 83%)
CMYKcmyk(3.8%, 0%, 28.4%, 17.3%)
CIE-LABlab(82.66, -12.39, 28.88)
CIE-LCHlch(82.66, 31.43, 113.22°)
OKLaboklab(84.61% -0.0327 0.0724)
OKLCHoklch(84.61% 0.079 114.3)
XYZxyz(53.5087, 61.5199, 38.3278)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD397 #9F97D3
analogous
#D3BD97 #CBD397 #ADD397
triadic
#CBD397 #97CBD3 #D397CB
tetradic
#CBD397 #97D3BD #9F97D3 #D397AD
square
#CBD397 #97D3BD #9F97D3 #D397AD
split-complementary
#CBD397 #97ADD3 #BD97D3
monochromatic
#9BA847 #B5C16C #CBD397 #E1E5C2 #F4F6E9

Accessibility & contrast

On white

1.58
#CBD397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#CBD397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD397
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD397#FFFFFF#000000##000000
##CBD3971.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCD93
Deuteranopia (green-blind)
#DBCE99
Tritanopia (blue-blind)
#D2CCC3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd397;
/* rgb */ color: rgb(203, 211, 151);
/* oklch */ color: oklch(84.6% 0.079 114.3);
Tailwind
colors: {
  custom: {
    50: '#dbe0b6',
    500: '#cbd397',
    950: '#000000',
  },
}
SCSS
$custom: #cbd397;
$custom-light: #dbe0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd397",
  "rgb": {
    "r": 203,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 68,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8461,
    "c": 0.07947,
    "h": 114.3
  },
  "luminance": 0.61519
}

Semantic roles & 50–950 ramp

primary
#CBD397
secondary
#6E65A9
accent
#32B443
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBD397

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

Preview Lab → · Contrast checker → · Palette generator →

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