#C7D45F#C7D45F

#C7D45F is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.7% C 0.142 H 114.8°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#C7D45F
RGBrgb(199, 212, 95)
HSLhsl(67, 58%, 60%)
HSVhsv(67, 55%, 83%)
CMYKcmyk(6.1%, 0%, 55.2%, 16.9%)
CIE-LABlab(81.87, -20.48, 55.38)
CIE-LCHlch(81.87, 59.05, 110.30°)
OKLaboklab(83.66% -0.0596 0.129)
OKLCHoklch(83.66% 0.142 114.8)
XYZxyz(49.1632, 60.0560, 19.8263)
Luminance0.6006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D45F #6C5FD4
analogous
#D4A75F #C7D45F #8CD45F
triadic
#C7D45F #5FC7D4 #D45FC7
tetradic
#C7D45F #5FD4A7 #6C5FD4 #D45F8C
square
#C7D45F #5FD4A7 #6C5FD4 #D45F8C
split-complementary
#C7D45F #5F8CD4 #A75FD4
monochromatic
#869127 #B2C234 #C7D45F #D8E18F #E9EEBF

Accessibility & contrast

On white

1.61
#C7D45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#C7D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D45F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D45F#FFFFFF#000000##000000
##C7D45F1.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB53
Deuteranopia (green-blind)
#E1CD66
Tritanopia (blue-blind)
#D2C9BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d45f;
/* rgb */ color: rgb(199, 212, 95);
/* oklch */ color: oklch(83.7% 0.142 114.8);
Tailwind
colors: {
  custom: {
    50: '#dae190',
    500: '#c7d45f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d45f;
$custom-light: #dae190;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d45f",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 66.667,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8366,
    "c": 0.14211,
    "h": 114.8
  },
  "luminance": 0.60055
}

Semantic roles & 50–950 ramp

primary
#C7D45F
secondary
#4A4097
accent
#20C533
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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