#C7DB5B#C7DB5B

#C7DB5B is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.1% C 0.154 H 117.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#C7DB5B
RGBrgb(199, 219, 91)
HSLhsl(69, 64%, 61%)
HSVhsv(69, 58%, 86%)
CMYKcmyk(9.1%, 0%, 58.4%, 14.1%)
CIE-LABlab(83.74, -24.20, 59.25)
CIE-LCHlch(83.74, 64.00, 112.22°)
OKLaboklab(85.15% -0.0705 0.1368)
OKLCHoklch(85.15% 0.154 117.3)
XYZxyz(50.7739, 63.5610, 19.4892)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB5B #6F5BDB
analogous
#DBAF5B #C7DB5B #87DB5B
triadic
#C7DB5B #5BC7DB #DB5BC7
tetradic
#C7DB5B #5BDBAF #6F5BDB #DB5B87
square
#C7DB5B #5BDBAF #6F5BDB #DB5B87
split-complementary
#C7DB5B #5B87DB #AF5BDB
monochromatic
#879A22 #B3CC2D #C7DB5B #D8E68D #E9F1BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7DB5B#FFFFFF#000000##000000
##C7DB5B1.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)
#E9D04D
Deuteranopia (green-blind)
#E7D263
Tritanopia (blue-blind)
#D2D0C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7db5b;
/* rgb */ color: rgb(199, 219, 91);
/* oklch */ color: oklch(85.1% 0.154 117.3);
Tailwind
colors: {
  custom: {
    50: '#dae68e',
    500: '#c7db5b',
    950: '#000000',
  },
}
SCSS
$custom: #c7db5b;
$custom-light: #dae68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db5b",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 91
  },
  "hsl": {
    "h": 69.375,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85145,
    "c": 0.15391,
    "h": 117.3
  },
  "luminance": 0.6356
}

Semantic roles & 50–950 ramp

primary
#C7DB5B
secondary
#4B3C9E
accent
#1ACC36
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7DB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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