#C7D045#C7D045

#C7D045 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.5% C 0.158 H 113.0°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#C7D045
RGBrgb(199, 208, 69)
HSLhsl(64, 60%, 54%)
HSVhsv(64, 67%, 82%)
CMYKcmyk(4.3%, 0%, 66.8%, 18.4%)
CIE-LABlab(80.56, -20.32, 64.88)
CIE-LCHlch(80.56, 67.99, 107.39°)
OKLaboklab(82.55% -0.0618 0.1457)
OKLCHoklch(82.55% 0.158 113)
XYZxyz(47.1846, 57.6845, 14.2777)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D045 #4E45D0
analogous
#D09445 #C7D045 #82D045
triadic
#C7D045 #45C7D0 #D045C7
tetradic
#C7D045 #45D094 #4E45D0 #D04582
square
#C7D045 #45D094 #4E45D0 #D04582
split-complementary
#C7D045 #4582D0 #9445D0
monochromatic
#757B1F #A4AC2C #C7D045 #D6DC76 #E4E9A7

Accessibility & contrast

On white

1.68
#C7D045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#C7D045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D045
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D045#FFFFFF#000000##000000
##C7D0451.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC630
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#D4C4B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d045;
/* rgb */ color: rgb(199, 208, 69);
/* oklch */ color: oklch(82.5% 0.158 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbde80',
    500: '#c7d045',
    950: '#000000',
  },
}
SCSS
$custom: #c7d045;
$custom-light: #dbde80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d045",
  "rgb": {
    "r": 199,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 63.885,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82545,
    "c": 0.15825,
    "h": 113
  },
  "luminance": 0.57684
}

Semantic roles & 50–950 ramp

primary
#C7D045
secondary
#3B3683
accent
#45E34F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D045

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

Preview Lab → · Contrast checker → · Palette generator →

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