#C7D85A#C7D85A

#C7D85A is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.5% C 0.151 H 116.2°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#C7D85A
RGBrgb(199, 216, 90)
HSLhsl(68, 62%, 60%)
HSVhsv(68, 58%, 85%)
CMYKcmyk(7.9%, 0%, 58.3%, 15.3%)
CIE-LABlab(82.91, -22.83, 58.76)
CIE-LCHlch(82.91, 63.04, 111.23°)
OKLaboklab(84.48% -0.0667 0.1357)
OKLCHoklch(84.48% 0.151 116.2)
XYZxyz(49.9555, 61.9927, 19.0050)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D85A #6B5AD8
analogous
#D8AA5A #C7D85A #88D85A
triadic
#C7D85A #5AC7D8 #D85AC7
tetradic
#C7D85A #5AD8AA #6B5AD8 #D85A88
square
#C7D85A #5AD8AA #6B5AD8 #D85A88
split-complementary
#C7D85A #5A88D8 #AA5AD8
monochromatic
#859523 #B2C62F #C7D85A #D8E48B #E9EFBD

Accessibility & contrast

On white

1.57
#C7D85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#C7D85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D85A
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D85A#FFFFFF#000000##000000
##C7D85A1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4C
Deuteranopia (green-blind)
#E4CF62
Tritanopia (blue-blind)
#D2CDBD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d85a;
/* rgb */ color: rgb(199, 216, 90);
/* oklch */ color: oklch(84.5% 0.151 116.2);
Tailwind
colors: {
  custom: {
    50: '#dae48d',
    500: '#c7d85a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d85a;
$custom-light: #dae48d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d85a",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 68.095,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.84479,
    "c": 0.15119,
    "h": 116.2
  },
  "luminance": 0.61992
}

Semantic roles & 50–950 ramp

primary
#C7D85A
secondary
#493D99
accent
#43E559
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D85A

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

Preview Lab → · Contrast checker → · Palette generator →

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