#C7DA3F#C7DA3F

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

Color values

HEX#C7DA3F
RGBrgb(199, 218, 63)
HSLhsl(67, 68%, 55%)
HSVhsv(67, 71%, 85%)
CMYKcmyk(8.7%, 0%, 71.1%, 14.5%)
CIE-LABlab(83.25, -25.48, 69.74)
CIE-LCHlch(83.25, 74.25, 110.07°)
OKLaboklab(84.69% -0.0767 0.155)
OKLCHoklch(84.69% 0.173 116.3)
XYZxyz(49.5230, 62.6445, 14.1844)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DA3F #523FDA
analogous
#DAA03F #C7DA3F #79DA3F
triadic
#C7DA3F #3FC7DA #DA3FC7
tetradic
#C7DA3F #3FDAA0 #523FDA #DA3F79
square
#C7DA3F #3FDAA0 #523FDA #DA3F79
split-complementary
#C7DA3F #3F79DA #A03FDA
monochromatic
#78851A #A6B824 #C7DA3F #D6E472 #E5EEA6

Accessibility & contrast

On white

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

On black

13.53
#C7DA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DA3F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DA3F#FFFFFF#000000##000000
##C7DA3F1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7da3f;
/* rgb */ color: rgb(199, 218, 63);
/* oklch */ color: oklch(84.7% 0.173 116.3);
Tailwind
colors: {
  custom: {
    50: '#dce57e',
    500: '#c7da3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7da3f;
$custom-light: #dce57e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7da3f",
  "rgb": {
    "r": 199,
    "g": 218,
    "b": 63
  },
  "hsl": {
    "h": 67.355,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84691,
    "c": 0.17293,
    "h": 116.3
  },
  "luminance": 0.62644
}

Semantic roles & 50–950 ramp

primary
#C7DA3F
secondary
#3D328B
accent
#3DEB52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7DA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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