#C7D257#C7D257

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

Color values

HEX#C7D257
RGBrgb(199, 210, 87)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 59%, 82%)
CMYKcmyk(5.2%, 0%, 58.6%, 17.6%)
CIE-LABlab(81.25, -20.12, 58.23)
CIE-LCHlch(81.25, 61.61, 109.06°)
OKLaboklab(83.14% -0.0594 0.1342)
OKLCHoklch(83.14% 0.147 113.9)
XYZxyz(48.3212, 58.9243, 17.8430)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D257 #6257D2
analogous
#D29F57 #C7D257 #89D257
triadic
#C7D257 #57C7D2 #D257C7
tetradic
#C7D257 #57D29F #6257D2 #D25789
square
#C7D257 #57D29F #6257D2 #D25789
split-complementary
#C7D257 #5789D2 #9F57D2
monochromatic
#818A25 #AEBA32 #C7D257 #D7DF87 #E7ECB8

Accessibility & contrast

On white

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

On black

12.78
#C7D257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D257
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D257#FFFFFF#000000##000000
##C7D2571.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d257;
/* rgb */ color: rgb(199, 210, 87);
/* oklch */ color: oklch(83.1% 0.147 113.9);
Tailwind
colors: {
  custom: {
    50: '#dbdf8b',
    500: '#c7d257',
    950: '#000000',
  },
}
SCSS
$custom: #c7d257;
$custom-light: #dbdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d257",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 65.366,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83141,
    "c": 0.14673,
    "h": 113.9
  },
  "luminance": 0.58923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7D257

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

Preview Lab → · Contrast checker → · Palette generator →

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