#C7D258#C7D258

#C7D258 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.146 H 113.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#C7D258
RGBrgb(199, 210, 88)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 58%, 82%)
CMYKcmyk(5.2%, 0%, 58.1%, 17.6%)
CIE-LABlab(81.26, -20.05, 57.80)
CIE-LCHlch(81.26, 61.18, 109.13°)
OKLaboklab(83.15% -0.0591 0.1334)
OKLCHoklch(83.15% 0.146 113.9)
XYZxyz(48.3623, 58.9407, 18.0597)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D258 #6358D2
analogous
#D2A058 #C7D258 #8AD258
triadic
#C7D258 #58C7D2 #D258C7
tetradic
#C7D258 #58D2A0 #6358D2 #D2588A
square
#C7D258 #58D2A0 #6358D2 #D2588A
split-complementary
#C7D258 #588AD2 #A058D2
monochromatic
#818A25 #AEBB32 #C7D258 #D7DF88 #E7ECB8

Accessibility & contrast

On white

1.64
#C7D258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#C7D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D258
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D258#FFFFFF#000000##000000
##C7D2581.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94B
Deuteranopia (green-blind)
#E0CB5F
Tritanopia (blue-blind)
#D3C7B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d258;
/* rgb */ color: rgb(199, 210, 88);
/* oklch */ color: oklch(83.2% 0.146 113.9);
Tailwind
colors: {
  custom: {
    50: '#dadf8c',
    500: '#c7d258',
    950: '#000000',
  },
}
SCSS
$custom: #c7d258;
$custom-light: #dadf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d258",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 65.41,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83151,
    "c": 0.14589,
    "h": 113.9
  },
  "luminance": 0.5894
}

Semantic roles & 50–950 ramp

primary
#C7D258
secondary
#453E91
accent
#47E155
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D258

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

Preview Lab → · Contrast checker → · Palette generator →

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