#C7D139#C7D139

#C7D139 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.7% C 0.167 H 113.3°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#C7D139
RGBrgb(199, 209, 57)
HSLhsl(64, 62%, 52%)
HSVhsv(64, 73%, 82%)
CMYKcmyk(4.8%, 0%, 72.7%, 18%)
CIE-LABlab(80.76, -21.42, 69.39)
CIE-LCHlch(80.76, 72.62, 107.16°)
OKLaboklab(82.68% -0.066 0.1532)
OKLCHoklch(82.68% 0.167 113.3)
XYZxyz(47.0936, 58.0395, 12.5920)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D139 #4339D1
analogous
#D18F39 #C7D139 #7BD139
triadic
#C7D139 #39C7D1 #D139C7
tetradic
#C7D139 #39D18F #4339D1 #D1397B
square
#C7D139 #39D18F #4339D1 #D1397B
split-complementary
#C7D139 #397BD1 #8F39D1
monochromatic
#6F751B #9EA627 #C7D139 #D5DD6B #E3E89C

Accessibility & contrast

On white

1.67
#C7D139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#C7D139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D139
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D139#FFFFFF#000000##000000
##C7D1391.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d139;
/* rgb */ color: rgb(199, 209, 57);
/* oklch */ color: oklch(82.7% 0.167 113.3);
Tailwind
colors: {
  custom: {
    50: '#dcde7a',
    500: '#c7d139',
    950: '#000000',
  },
}
SCSS
$custom: #c7d139;
$custom-light: #dcde7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d139",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 57
  },
  "hsl": {
    "h": 63.947,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.16682,
    "h": 113.3
  },
  "luminance": 0.58038
}

Semantic roles & 50–950 ramp

primary
#C7D139
secondary
#36317D
accent
#42E54D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D139

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

Preview Lab → · Contrast checker → · Palette generator →

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