#C7D54B#C7D54B

#C7D54B is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.7% C 0.159 H 114.8°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#C7D54B
RGBrgb(199, 213, 75)
HSLhsl(66, 62%, 56%)
HSVhsv(66, 65%, 84%)
CMYKcmyk(6.6%, 0%, 64.8%, 16.5%)
CIE-LABlab(81.97, -22.40, 63.99)
CIE-LCHlch(81.97, 67.79, 109.29°)
OKLaboklab(83.68% -0.067 0.1447)
OKLCHoklch(83.68% 0.159 114.8)
XYZxyz(48.6186, 60.2394, 15.7214)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D54B #594BD5
analogous
#D59E4B #C7D54B #82D54B
triadic
#C7D54B #4BC7D5 #D54BC7
tetradic
#C7D54B #4BD59E #594BD5 #D54B82
square
#C7D54B #4BD59E #594BD5 #D54B82
split-complementary
#C7D54B #4B82D5 #9E4BD5
monochromatic
#7C861F #AAB82B #C7D54B #D6E17D #E6ECAE

Accessibility & contrast

On white

1.61
#C7D54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#C7D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D54B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D54B#FFFFFF#000000##000000
##C7D54B1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB38
Deuteranopia (green-blind)
#E3CD55
Tritanopia (blue-blind)
#D3C9B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d54b;
/* rgb */ color: rgb(199, 213, 75);
/* oklch */ color: oklch(83.7% 0.159 114.8);
Tailwind
colors: {
  custom: {
    50: '#dbe184',
    500: '#c7d54b',
    950: '#000000',
  },
}
SCSS
$custom: #c7d54b;
$custom-light: #dbe184;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d54b",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 66.087,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83684,
    "c": 0.15949,
    "h": 114.8
  },
  "luminance": 0.60239
}

Semantic roles & 50–950 ramp

primary
#C7D54B
secondary
#40378D
accent
#43E553
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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