#C7D255#C7D255

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

Color values

HEX#C7D255
RGBrgb(199, 210, 85)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 60%, 82%)
CMYKcmyk(5.2%, 0%, 59.5%, 17.6%)
CIE-LABlab(81.23, -20.27, 59.07)
CIE-LCHlch(81.23, 62.45, 108.94°)
OKLaboklab(83.12% -0.06 0.1357)
OKLCHoklch(83.12% 0.148 113.9)
XYZxyz(48.2406, 58.8920, 17.4186)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D255 #6055D2
analogous
#D29E55 #C7D255 #88D255
triadic
#C7D255 #55C7D2 #D255C7
tetradic
#C7D255 #55D29E #6055D2 #D25588
square
#C7D255 #55D29E #6055D2 #D25588
split-complementary
#C7D255 #5588D2 #9E55D2
monochromatic
#808824 #ADB931 #C7D255 #D7DF85 #E7ECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D255#FFFFFF#000000##000000
##C7D2551.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)
#E0C947
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#D3C7B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d255;
/* rgb */ color: rgb(199, 210, 85);
/* oklch */ color: oklch(83.1% 0.148 113.9);
Tailwind
colors: {
  custom: {
    50: '#dbdf8a',
    500: '#c7d255',
    950: '#000000',
  },
}
SCSS
$custom: #c7d255;
$custom-light: #dbdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d255",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 65.28,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83121,
    "c": 0.14839,
    "h": 113.9
  },
  "luminance": 0.58891
}

Semantic roles & 50–950 ramp

primary
#C7D255
secondary
#443C8F
accent
#46E154
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D255

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

Preview Lab → · Contrast checker → · Palette generator →

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