#C7D256#C7D256

#C7D256 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#C7D256
RGBrgb(199, 210, 86)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 59%, 82%)
CMYKcmyk(5.2%, 0%, 59%, 17.6%)
CIE-LABlab(81.24, -20.20, 58.65)
CIE-LCHlch(81.24, 62.03, 109.00°)
OKLaboklab(83.13% -0.0597 0.1349)
OKLCHoklch(83.13% 0.148 113.9)
XYZxyz(48.2806, 58.9080, 17.6293)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D256 #6156D2
analogous
#D29F56 #C7D256 #89D256
triadic
#C7D256 #56C7D2 #D256C7
tetradic
#C7D256 #56D29F #6156D2 #D25689
square
#C7D256 #56D29F #6156D2 #D25689
split-complementary
#C7D256 #5689D2 #9F56D2
monochromatic
#808925 #ADB931 #C7D256 #D7DF86 #E7ECB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D256#FFFFFF#000000##000000
##C7D2561.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)
#E0C948
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#D3C7B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d256;
/* rgb */ color: rgb(199, 210, 86);
/* oklch */ color: oklch(83.1% 0.148 113.9);
Tailwind
colors: {
  custom: {
    50: '#dbdf8a',
    500: '#c7d256',
    950: '#000000',
  },
}
SCSS
$custom: #c7d256;
$custom-light: #dbdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d256",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 65.323,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83131,
    "c": 0.14756,
    "h": 113.9
  },
  "luminance": 0.58907
}

Semantic roles & 50–950 ramp

primary
#C7D256
secondary
#443D90
accent
#47E154
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D256

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

Preview Lab → · Contrast checker → · Palette generator →

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