#C7D745#C7D745

#C7D745 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.1% C 0.166 H 115.5°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#C7D745
RGBrgb(199, 215, 69)
HSLhsl(67, 65%, 56%)
HSVhsv(67, 68%, 84%)
CMYKcmyk(7.4%, 0%, 67.9%, 15.7%)
CIE-LABlab(82.47, -23.72, 66.81)
CIE-LCHlch(82.47, 70.90, 109.55°)
OKLaboklab(84.08% -0.0713 0.1498)
OKLCHoklch(84.08% 0.166 115.5)
XYZxyz(48.9290, 61.1734, 14.8592)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D745 #5545D7
analogous
#D79E45 #C7D745 #7ED745
triadic
#C7D745 #45C7D7 #D745C7
tetradic
#C7D745 #45D79E #5545D7 #D7457E
square
#C7D745 #45D79E #5545D7 #D7457E
split-complementary
#C7D745 #457ED7 #9E45D7
monochromatic
#7A851D #A8B727 #C7D745 #D6E277 #E5EDAA

Accessibility & contrast

On white

1.59
#C7D745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#C7D745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D745
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D745#FFFFFF#000000##000000
##C7D7451.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC2E
Deuteranopia (green-blind)
#E5CE50
Tritanopia (blue-blind)
#D3CBBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d745;
/* rgb */ color: rgb(199, 215, 69);
/* oklch */ color: oklch(84.1% 0.166 115.5);
Tailwind
colors: {
  custom: {
    50: '#dbe381',
    500: '#c7d745',
    950: '#000000',
  },
}
SCSS
$custom: #c7d745;
$custom-light: #dbe381;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d745",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 69
  },
  "hsl": {
    "h": 66.575,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84075,
    "c": 0.16586,
    "h": 115.5
  },
  "luminance": 0.61173
}

Semantic roles & 50–950 ramp

primary
#C7D745
secondary
#3E358C
accent
#40E853
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D745

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

Preview Lab → · Contrast checker → · Palette generator →

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