#C7D74A#C7D74A

#C7D74A is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.1% C 0.162 H 115.5°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#C7D74A
RGBrgb(199, 215, 74)
HSLhsl(67, 64%, 57%)
HSVhsv(67, 66%, 84%)
CMYKcmyk(7.4%, 0%, 65.6%, 15.7%)
CIE-LABlab(82.51, -23.43, 64.94)
CIE-LCHlch(82.51, 69.04, 109.84°)
OKLaboklab(84.11% -0.07 0.1466)
OKLCHoklch(84.11% 0.162 115.5)
XYZxyz(49.0908, 61.2381, 15.7113)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D74A #5A4AD7
analogous
#D7A14A #C7D74A #80D74A
triadic
#C7D74A #4AC7D7 #D74AC7
tetradic
#C7D74A #4AD7A1 #5A4AD7 #D74A80
square
#C7D74A #4AD7A1 #5A4AD7 #D74A80
split-complementary
#C7D74A #4A80D7 #A14AD7
monochromatic
#7C881E #AABB29 #C7D74A #D7E27C #E6EDAE

Accessibility & contrast

On white

1.59
#C7D74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#C7D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D74A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D74A#FFFFFF#000000##000000
##C7D74A1.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC36
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#D3CBBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d74a;
/* rgb */ color: rgb(199, 215, 74);
/* oklch */ color: oklch(84.1% 0.162 115.5);
Tailwind
colors: {
  custom: {
    50: '#dbe384',
    500: '#c7d74a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d74a;
$custom-light: #dbe384;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d74a",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 66.809,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84114,
    "c": 0.16243,
    "h": 115.5
  },
  "luminance": 0.61237
}

Semantic roles & 50–950 ramp

primary
#C7D74A
secondary
#41378F
accent
#41E754
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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