#C7DB5A#C7DB5A

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

Color values

HEX#C7DB5A
RGBrgb(199, 219, 90)
HSLhsl(69, 64%, 61%)
HSVhsv(69, 59%, 86%)
CMYKcmyk(9.1%, 0%, 58.9%, 14.1%)
CIE-LABlab(83.73, -24.28, 59.67)
CIE-LCHlch(83.73, 64.42, 112.14°)
OKLaboklab(85.14% -0.0708 0.1376)
OKLCHoklch(85.14% 0.155 117.2)
XYZxyz(50.7311, 63.5439, 19.2636)
Luminance0.6354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB5A #6E5ADB
analogous
#DBAE5A #C7DB5A #87DB5A
triadic
#C7DB5A #5AC7DB #DB5AC7
tetradic
#C7DB5A #5ADBAE #6E5ADB #DB5A87
square
#C7DB5A #5ADBAE #6E5ADB #DB5A87
split-complementary
#C7DB5A #5A87DB #AE5ADB
monochromatic
#879921 #B3CB2C #C7DB5A #D8E68C #E9F1BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7DB5A#FFFFFF#000000##000000
##C7DB5A1.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)
#E9D04B
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#D2D0BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7db5a;
/* rgb */ color: rgb(199, 219, 90);
/* oklch */ color: oklch(85.1% 0.155 117.2);
Tailwind
colors: {
  custom: {
    50: '#dbe68d',
    500: '#c7db5a',
    950: '#000000',
  },
}
SCSS
$custom: #c7db5a;
$custom-light: #dbe68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db5a",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 90
  },
  "hsl": {
    "h": 69.302,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85135,
    "c": 0.15473,
    "h": 117.2
  },
  "luminance": 0.63543
}

Semantic roles & 50–950 ramp

primary
#C7DB5A
secondary
#4B3C9D
accent
#1ACC35
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7DB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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