#C7D95A#C7D95A

#C7D95A is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.7% C 0.152 H 116.5°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#C7D95A
RGBrgb(199, 217, 90)
HSLhsl(69, 63%, 60%)
HSVhsv(69, 59%, 85%)
CMYKcmyk(8.3%, 0%, 58.5%, 14.9%)
CIE-LABlab(83.18, -23.31, 59.06)
CIE-LCHlch(83.18, 63.50, 111.54°)
OKLaboklab(84.7% -0.0681 0.1363)
OKLCHoklch(84.7% 0.152 116.5)
XYZxyz(50.2124, 62.5066, 19.0907)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D95A #6C5AD9
analogous
#D9AC5A #C7D95A #87D95A
triadic
#C7D95A #5AC7D9 #D95AC7
tetradic
#C7D95A #5AD9AC #6C5AD9 #D95A87
square
#C7D95A #5AD9AC #6C5AD9 #D95A87
split-complementary
#C7D95A #5A87D9 #AC5AD9
monochromatic
#869623 #B2C82E #C7D95A #D8E48C #E9F0BD

Accessibility & contrast

On white

1.56
#C7D95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#C7D95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D95A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D95A#FFFFFF#000000##000000
##C7D95A1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#D2CEBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d95a;
/* rgb */ color: rgb(199, 217, 90);
/* oklch */ color: oklch(84.7% 0.152 116.5);
Tailwind
colors: {
  custom: {
    50: '#dae48d',
    500: '#c7d95a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d95a;
$custom-light: #dae48d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d95a",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 68.504,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84697,
    "c": 0.15237,
    "h": 116.5
  },
  "luminance": 0.62506
}

Semantic roles & 50–950 ramp

primary
#C7D95A
secondary
#4A3C9B
accent
#1BCA34
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D95A

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

Preview Lab → · Contrast checker → · Palette generator →

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