#C7D145#C7D145

#C7D145 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.8% C 0.159 H 113.3°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#C7D145
RGBrgb(199, 209, 69)
HSLhsl(64, 60%, 55%)
HSVhsv(64, 67%, 82%)
CMYKcmyk(4.8%, 0%, 67%, 18%)
CIE-LABlab(80.84, -20.81, 65.16)
CIE-LCHlch(80.84, 68.40, 107.71°)
OKLaboklab(82.76% -0.0631 0.1463)
OKLCHoklch(82.76% 0.159 113.3)
XYZxyz(47.4292, 58.1737, 14.3592)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D145 #4F45D1
analogous
#D19545 #C7D145 #81D145
triadic
#C7D145 #45C7D1 #D145C7
tetradic
#C7D145 #45D195 #4F45D1 #D14581
square
#C7D145 #45D195 #4F45D1 #D14581
split-complementary
#C7D145 #4581D1 #9545D1
monochromatic
#767D1F #A4AE2B #C7D145 #D6DD76 #E5E9A7

Accessibility & contrast

On white

1.66
#C7D145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#C7D145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D145
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D145#FFFFFF#000000##000000
##C7D1451.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#D4C5B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d145;
/* rgb */ color: rgb(199, 209, 69);
/* oklch */ color: oklch(82.8% 0.159 113.3);
Tailwind
colors: {
  custom: {
    50: '#dbde80',
    500: '#c7d145',
    950: '#000000',
  },
}
SCSS
$custom: #c7d145;
$custom-light: #dbde80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d145",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 64.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82763,
    "c": 0.15933,
    "h": 113.3
  },
  "luminance": 0.58173
}

Semantic roles & 50–950 ramp

primary
#C7D145
secondary
#3B3684
accent
#44E350
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D145

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

Preview Lab → · Contrast checker → · Palette generator →

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