#C7D545#C7D545

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

Color values

HEX#C7D545
RGBrgb(199, 213, 69)
HSLhsl(66, 63%, 55%)
HSVhsv(66, 68%, 84%)
CMYKcmyk(6.6%, 0%, 67.6%, 16.5%)
CIE-LABlab(81.93, -22.76, 66.26)
CIE-LCHlch(81.93, 70.06, 108.95°)
OKLaboklab(83.64% -0.0686 0.1486)
OKLCHoklch(83.64% 0.164 114.8)
XYZxyz(48.4229, 60.1611, 14.6905)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D545 #5345D5
analogous
#D59B45 #C7D545 #7FD545
triadic
#C7D545 #45C7D5 #D545C7
tetradic
#C7D545 #45D59B #5345D5 #D5457F
square
#C7D545 #45D59B #5345D5 #D5457F
split-complementary
#C7D545 #457FD5 #9B45D5
monochromatic
#78821D #A7B429 #C7D545 #D6E077 #E5ECA9

Accessibility & contrast

On white

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

On black

13.03
#C7D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D545
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D545#FFFFFF#000000##000000
##C7D5451.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2F
Deuteranopia (green-blind)
#E3CD50
Tritanopia (blue-blind)
#D4C9B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d545;
/* rgb */ color: rgb(199, 213, 69);
/* oklch */ color: oklch(83.6% 0.164 114.8);
Tailwind
colors: {
  custom: {
    50: '#dbe181',
    500: '#c7d545',
    950: '#000000',
  },
}
SCSS
$custom: #c7d545;
$custom-light: #dbe181;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d545",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 65.833,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83637,
    "c": 0.16367,
    "h": 114.8
  },
  "luminance": 0.6016
}

Semantic roles & 50–950 ramp

primary
#C7D545
secondary
#3D3589
accent
#42E652
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D545

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

Preview Lab → · Contrast checker → · Palette generator →

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