#C7D158#C7D158

#C7D158 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.9% C 0.145 H 113.5°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#C7D158
RGBrgb(199, 209, 88)
HSLhsl(65, 57%, 58%)
HSVhsv(65, 58%, 82%)
CMYKcmyk(4.8%, 0%, 57.9%, 18%)
CIE-LABlab(80.99, -19.56, 57.50)
CIE-LCHlch(80.99, 60.73, 108.78°)
OKLaboklab(82.93% -0.0577 0.1327)
OKLCHoklch(82.93% 0.145 113.5)
XYZxyz(48.1162, 58.4485, 17.9776)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D158 #6258D1
analogous
#D19F58 #C7D158 #8AD158
triadic
#C7D158 #58C7D1 #D158C7
tetradic
#C7D158 #58D19F #6258D1 #D1588A
square
#C7D158 #58D19F #6258D1 #D1588A
split-complementary
#C7D158 #588AD1 #9F58D1
monochromatic
#818926 #AEB933 #C7D158 #D7DE88 #E7EBB8

Accessibility & contrast

On white

1.65
#C7D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#C7D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D158
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D158#FFFFFF#000000##000000
##C7D1581.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#DFCA5F
Tritanopia (blue-blind)
#D3C6B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d158;
/* rgb */ color: rgb(199, 209, 88);
/* oklch */ color: oklch(82.9% 0.145 113.5);
Tailwind
colors: {
  custom: {
    50: '#dadf8c',
    500: '#c7d158',
    950: '#000000',
  },
}
SCSS
$custom: #c7d158;
$custom-light: #dadf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d158",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 64.959,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82934,
    "c": 0.14474,
    "h": 113.5
  },
  "luminance": 0.58448
}

Semantic roles & 50–950 ramp

primary
#C7D158
secondary
#453E8F
accent
#48E054
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D158

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

Preview Lab → · Contrast checker → · Palette generator →

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