#C7D12C#C7D12C

#C7D12C is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.6% C 0.173 H 113.3°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#C7D12C
RGBrgb(199, 209, 44)
HSLhsl(64, 65%, 50%)
HSVhsv(64, 79%, 82%)
CMYKcmyk(4.8%, 0%, 78.9%, 18%)
CIE-LABlab(80.70, -21.95, 73.30)
CIE-LCHlch(80.70, 76.51, 106.67°)
OKLaboklab(82.61% -0.0685 0.1593)
OKLCHoklch(82.61% 0.173 113.3)
XYZxyz(46.8098, 57.9259, 11.0974)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D12C #362CD1
analogous
#D1882C #C7D12C #75D12C
triadic
#C7D12C #2CC7D1 #D12CC7
tetradic
#C7D12C #2CD188 #362CD1 #D12C75
square
#C7D12C #2CD188 #362CD1 #D12C75
split-complementary
#C7D12C #2C75D1 #882CD1
monochromatic
#676C17 #979E21 #C7D12C #D5DD5D #E2E890

Accessibility & contrast

On white

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

On black

12.59
#C7D12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D12C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D12C#FFFFFF#000000##000000
##C7D12C1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E1CA3C
Tritanopia (blue-blind)
#D5C4B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d12c;
/* rgb */ color: rgb(199, 209, 44);
/* oklch */ color: oklch(82.6% 0.173 113.3);
Tailwind
colors: {
  custom: {
    50: '#dcde74',
    500: '#c7d12c',
    950: '#000000',
  },
}
SCSS
$custom: #c7d12c;
$custom-light: #dcde74;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d12c",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 44
  },
  "hsl": {
    "h": 63.636,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.82609,
    "c": 0.17336,
    "h": 113.3
  },
  "luminance": 0.57925
}

Semantic roles & 50–950 ramp

primary
#C7D12C
secondary
#302C75
accent
#40E84A
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C7D12C

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

Preview Lab → · Contrast checker → · Palette generator →

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