#C7DA42#C7DA42

#C7DA42 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.7% C 0.171 H 116.4°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#C7DA42
RGBrgb(199, 218, 66)
HSLhsl(68, 67%, 56%)
HSVhsv(68, 70%, 85%)
CMYKcmyk(8.7%, 0%, 69.7%, 14.5%)
CIE-LABlab(83.27, -25.33, 68.70)
CIE-LCHlch(83.27, 73.22, 110.24°)
OKLaboklab(84.71% -0.076 0.1533)
OKLCHoklch(84.71% 0.171 116.4)
XYZxyz(49.6092, 62.6789, 14.6381)
Luminance0.6268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DA42 #5542DA
analogous
#DAA142 #C7DA42 #7BDA42
triadic
#C7DA42 #42C7DA #DA42C7
tetradic
#C7DA42 #42DAA1 #5542DA #DA427B
square
#C7DA42 #42DAA1 #5542DA #DA427B
split-complementary
#C7DA42 #427BDA #A142DA
monochromatic
#7A871A #A8BA24 #C7DA42 #D6E475 #E5EEA8

Accessibility & contrast

On white

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

On black

13.54
#C7DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DA42
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DA42#FFFFFF#000000##000000
##C7DA421.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#D3CEBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7da42;
/* rgb */ color: rgb(199, 218, 66);
/* oklch */ color: oklch(84.7% 0.171 116.4);
Tailwind
colors: {
  custom: {
    50: '#dbe580',
    500: '#c7da42',
    950: '#000000',
  },
}
SCSS
$custom: #c7da42;
$custom-light: #dbe580;
$custom-dark: #000000;
JSON
{
  "hex": "#c7da42",
  "rgb": {
    "r": 199,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 67.5,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84712,
    "c": 0.17109,
    "h": 116.4
  },
  "luminance": 0.62678
}

Semantic roles & 50–950 ramp

primary
#C7DA42
secondary
#3E338D
accent
#3EEA53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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