#C7D254#C7D254

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

Color values

HEX#C7D254
RGBrgb(199, 210, 84)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 60%, 82%)
CMYKcmyk(5.2%, 0%, 60%, 17.6%)
CIE-LABlab(81.22, -20.34, 59.49)
CIE-LCHlch(81.22, 62.87, 108.88°)
OKLaboklab(83.11% -0.0603 0.1365)
OKLCHoklch(83.11% 0.149 113.8)
XYZxyz(48.2011, 58.8763, 17.2109)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D254 #5F54D2
analogous
#D29E54 #C7D254 #88D254
triadic
#C7D254 #54C7D2 #D254C7
tetradic
#C7D254 #54D29E #5F54D2 #D25488
square
#C7D254 #54D29E #5F54D2 #D25488
split-complementary
#C7D254 #5488D2 #9E54D2
monochromatic
#7F8824 #ACB831 #C7D254 #D7DF84 #E7EBB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D254#FFFFFF#000000##000000
##C7D2541.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)
#E0C945
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#D3C7B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d254;
/* rgb */ color: rgb(199, 210, 84);
/* oklch */ color: oklch(83.1% 0.149 113.8);
Tailwind
colors: {
  custom: {
    50: '#dbdf89',
    500: '#c7d254',
    950: '#000000',
  },
}
SCSS
$custom: #c7d254;
$custom-light: #dbdf89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d254",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 65.238,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83111,
    "c": 0.14921,
    "h": 113.8
  },
  "luminance": 0.58875
}

Semantic roles & 50–950 ramp

primary
#C7D254
secondary
#433C8E
accent
#46E254
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D254

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

Preview Lab → · Contrast checker → · Palette generator →

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