#C7DA3D#C7DA3D

#C7DA3D is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.7% C 0.174 H 116.3°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#C7DA3D
RGBrgb(199, 218, 61)
HSLhsl(67, 68%, 55%)
HSVhsv(67, 72%, 85%)
CMYKcmyk(8.7%, 0%, 72%, 14.5%)
CIE-LABlab(83.24, -25.58, 70.42)
CIE-LCHlch(83.24, 74.92, 109.97°)
OKLaboklab(84.68% -0.0772 0.1561)
OKLCHoklch(84.68% 0.174 116.3)
XYZxyz(49.4682, 62.6225, 13.8954)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DA3D #503DDA
analogous
#DA9E3D #C7DA3D #79DA3D
triadic
#C7DA3D #3DC7DA #DA3DC7
tetradic
#C7DA3D #3DDA9E #503DDA #DA3D79
square
#C7DA3D #3DDA9E #503DDA #DA3D79
split-complementary
#C7DA3D #3D79DA #9E3DDA
monochromatic
#778419 #A5B723 #C7DA3D #D6E470 #E5EEA4

Accessibility & contrast

On white

1.55
#C7DA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#C7DA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DA3D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DA3D#FFFFFF#000000##000000
##C7DA3D1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF1E
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#D4CEBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7da3d;
/* rgb */ color: rgb(199, 218, 61);
/* oklch */ color: oklch(84.7% 0.174 116.3);
Tailwind
colors: {
  custom: {
    50: '#dce57d',
    500: '#c7da3d',
    950: '#000000',
  },
}
SCSS
$custom: #c7da3d;
$custom-light: #dce57d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7da3d",
  "rgb": {
    "r": 199,
    "g": 218,
    "b": 61
  },
  "hsl": {
    "h": 67.261,
    "s": 67.965,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84678,
    "c": 0.1741,
    "h": 116.3
  },
  "luminance": 0.62622
}

Semantic roles & 50–950 ramp

primary
#C7DA3D
secondary
#3C318A
accent
#3DEB52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7DA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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