#C7DB57#C7DB57

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

Color values

HEX#C7DB57
RGBrgb(199, 219, 87)
HSLhsl(69, 65%, 60%)
HSVhsv(69, 60%, 86%)
CMYKcmyk(9.1%, 0%, 60.3%, 14.1%)
CIE-LABlab(83.70, -24.50, 60.92)
CIE-LCHlch(83.70, 65.66, 111.91°)
OKLaboklab(85.11% -0.0717 0.1399)
OKLCHoklch(85.11% 0.157 117.1)
XYZxyz(50.6059, 63.4938, 18.6046)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB57 #6B57DB
analogous
#DBAD57 #C7DB57 #85DB57
triadic
#C7DB57 #57C7DB #DB57C7
tetradic
#C7DB57 #57DBAD #6B57DB #DB5785
square
#C7DB57 #57DBAD #6B57DB #DB5785
split-complementary
#C7DB57 #5785DB #AD57DB
monochromatic
#859720 #B2CA2B #C7DB57 #D8E689 #E9F1BC

Accessibility & contrast

On white

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

On black

13.70
#C7DB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DB57
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DB57#FFFFFF#000000##000000
##C7DB571.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D048
Deuteranopia (green-blind)
#E7D160
Tritanopia (blue-blind)
#D2D0BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7db57;
/* rgb */ color: rgb(199, 219, 87);
/* oklch */ color: oklch(85.1% 0.157 117.1);
Tailwind
colors: {
  custom: {
    50: '#dbe68c',
    500: '#c7db57',
    950: '#000000',
  },
}
SCSS
$custom: #c7db57;
$custom-light: #dbe68c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db57",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 69.091,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.85105,
    "c": 0.15719,
    "h": 117.1
  },
  "luminance": 0.63493
}

Semantic roles & 50–950 ramp

primary
#C7DB57
secondary
#493B9C
accent
#40E85A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7DB57

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

Preview Lab → · Contrast checker → · Palette generator →

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