#C7D95F#C7D95F

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

Color values

HEX#C7D95F
RGBrgb(199, 217, 95)
HSLhsl(69, 62%, 61%)
HSVhsv(69, 56%, 85%)
CMYKcmyk(8.3%, 0%, 56.2%, 14.9%)
CIE-LABlab(83.23, -22.92, 56.92)
CIE-LCHlch(83.23, 61.37, 111.93°)
OKLaboklab(84.75% -0.0665 0.1323)
OKLCHoklch(84.75% 0.148 116.7)
XYZxyz(50.4324, 62.5946, 20.2494)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D95F #715FD9
analogous
#D9AE5F #C7D95F #8AD95F
triadic
#C7D95F #5FC7D9 #D95FC7
tetradic
#C7D95F #5FD9AE #715FD9 #D95F8A
square
#C7D95F #5FD9AE #715FD9 #D95F8A
split-complementary
#C7D95F #5F8AD9 #AE5FD9
monochromatic
#889924 #B4CB30 #C7D95F #D8E590 #EAF0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D95F#FFFFFF#000000##000000
##C7D95F1.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)
#E6CF52
Deuteranopia (green-blind)
#E5D066
Tritanopia (blue-blind)
#D2CEBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d95f;
/* rgb */ color: rgb(199, 217, 95);
/* oklch */ color: oklch(84.7% 0.148 116.7);
Tailwind
colors: {
  custom: {
    50: '#dae490',
    500: '#c7d95f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d95f;
$custom-light: #dae490;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d95f",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 68.852,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84749,
    "c": 0.14808,
    "h": 116.7
  },
  "luminance": 0.62594
}

Semantic roles & 50–950 ramp

primary
#C7D95F
secondary
#4D3F9E
accent
#1CC936
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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