#C7DB5D#C7DB5D

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

Color values

HEX#C7DB5D
RGBrgb(199, 219, 93)
HSLhsl(70, 64%, 61%)
HSVhsv(70, 58%, 86%)
CMYKcmyk(9.1%, 0%, 57.5%, 14.1%)
CIE-LABlab(83.75, -24.05, 58.40)
CIE-LCHlch(83.75, 63.15, 112.38°)
OKLaboklab(85.17% -0.0698 0.1352)
OKLCHoklch(85.17% 0.152 117.3)
XYZxyz(50.8613, 63.5960, 19.9497)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB5D #715DDB
analogous
#DBB05D #C7DB5D #88DB5D
triadic
#C7DB5D #5DC7DB #DB5DC7
tetradic
#C7DB5D #5DDBB0 #715DDB #DB5D88
square
#C7DB5D #5DDBB0 #715DDB #DB5D88
split-complementary
#C7DB5D #5D88DB #B05DDB
monochromatic
#889B22 #B4CD2E #C7DB5D #D8E68F #EAF1C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7DB5D#FFFFFF#000000##000000
##C7DB5D1.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)
#E8D04F
Deuteranopia (green-blind)
#E6D265
Tritanopia (blue-blind)
#D2D0C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7db5d;
/* rgb */ color: rgb(199, 219, 93);
/* oklch */ color: oklch(85.2% 0.152 117.3);
Tailwind
colors: {
  custom: {
    50: '#dae68f',
    500: '#c7db5d',
    950: '#000000',
  },
}
SCSS
$custom: #c7db5d;
$custom-light: #dae68f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db5d",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 69.524,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85165,
    "c": 0.15221,
    "h": 117.3
  },
  "luminance": 0.63595
}

Semantic roles & 50–950 ramp

primary
#C7DB5D
secondary
#4D3D9F
accent
#1ACB36
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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