#C7D245#C7D245

#C7D245 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.0% C 0.160 H 113.7°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#C7D245
RGBrgb(199, 210, 69)
HSLhsl(65, 61%, 55%)
HSVhsv(65, 67%, 82%)
CMYKcmyk(5.2%, 0%, 67.1%, 17.6%)
CIE-LABlab(81.11, -21.29, 65.43)
CIE-LCHlch(81.11, 68.81, 108.03°)
OKLaboklab(82.98% -0.0645 0.1469)
OKLCHoklch(82.98% 0.16 113.7)
XYZxyz(47.6753, 58.6659, 14.4413)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D245 #5045D2
analogous
#D29745 #C7D245 #80D245
triadic
#C7D245 #45C7D2 #D245C7
tetradic
#C7D245 #45D297 #5045D2 #D24580
square
#C7D245 #45D297 #5045D2 #D24580
split-complementary
#C7D245 #4580D2 #9745D2
monochromatic
#777E1F #A5AF2A #C7D245 #D6DE76 #E5EAA8

Accessibility & contrast

On white

1.65
#C7D245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#C7D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D245
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D245#FFFFFF#000000##000000
##C7D2451.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C830
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#D4C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d245;
/* rgb */ color: rgb(199, 210, 69);
/* oklch */ color: oklch(83.0% 0.160 113.7);
Tailwind
colors: {
  custom: {
    50: '#dbdf81',
    500: '#c7d245',
    950: '#000000',
  },
}
SCSS
$custom: #c7d245;
$custom-light: #dbdf81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d245",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 64.681,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82981,
    "c": 0.1604,
    "h": 113.7
  },
  "luminance": 0.58665
}

Semantic roles & 50–950 ramp

primary
#C7D245
secondary
#3C3686
accent
#44E450
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D245

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

Preview Lab → · Contrast checker → · Palette generator →

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