#C7D150#C7D150

#C7D150 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.9% C 0.151 H 113.4°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#C7D150
RGBrgb(199, 209, 80)
HSLhsl(65, 58%, 57%)
HSVhsv(65, 62%, 82%)
CMYKcmyk(4.8%, 0%, 61.7%, 18%)
CIE-LABlab(80.92, -20.12, 60.85)
CIE-LCHlch(80.92, 64.09, 108.30°)
OKLaboklab(82.86% -0.0601 0.1388)
OKLCHoklch(82.86% 0.151 113.4)
XYZxyz(47.8028, 58.3231, 16.3272)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D150 #5A50D1
analogous
#D19B50 #C7D150 #87D150
triadic
#C7D150 #50C7D1 #D150C7
tetradic
#C7D150 #50D19B #5A50D1 #D15087
square
#C7D150 #50D19B #5A50D1 #D15087
split-complementary
#C7D150 #5087D1 #9B50D1
monochromatic
#7C8423 #AAB42F #C7D150 #D7DE80 #E6EAB1

Accessibility & contrast

On white

1.66
#C7D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#C7D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D150
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D150#FFFFFF#000000##000000
##C7D1501.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C840
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#D3C5B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d150;
/* rgb */ color: rgb(199, 209, 80);
/* oklch */ color: oklch(82.9% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#dbdf87',
    500: '#c7d150',
    950: '#000000',
  },
}
SCSS
$custom: #c7d150;
$custom-light: #dbdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d150",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 64.651,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82856,
    "c": 0.15127,
    "h": 113.4
  },
  "luminance": 0.58322
}

Semantic roles & 50–950 ramp

primary
#C7D150
secondary
#413A8B
accent
#46E252
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D150

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

Preview Lab → · Contrast checker → · Palette generator →

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