#C7D134#C7D134

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

Color values

HEX#C7D134
RGBrgb(199, 209, 52)
HSLhsl(64, 63%, 51%)
HSVhsv(64, 75%, 82%)
CMYKcmyk(4.8%, 0%, 75.1%, 18%)
CIE-LABlab(80.73, -21.64, 70.98)
CIE-LCHlch(80.73, 74.21, 106.96°)
OKLaboklab(82.65% -0.067 0.1557)
OKLCHoklch(82.65% 0.17 113.3)
XYZxyz(46.9750, 57.9920, 11.9672)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D134 #3E34D1
analogous
#D18C34 #C7D134 #78D134
triadic
#C7D134 #34C7D1 #D134C7
tetradic
#C7D134 #34D18C #3E34D1 #D13478
square
#C7D134 #34D18C #3E34D1 #D13478
split-complementary
#C7D134 #3478D1 #8C34D1
monochromatic
#6B711A #9BA325 #C7D134 #D5DC66 #E3E898

Accessibility & contrast

On white

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

On black

12.60
#C7D134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D134
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D134#FFFFFF#000000##000000
##C7D1341.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C70B
Deuteranopia (green-blind)
#E1CA42
Tritanopia (blue-blind)
#D5C4B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d134;
/* rgb */ color: rgb(199, 209, 52);
/* oklch */ color: oklch(82.7% 0.170 113.3);
Tailwind
colors: {
  custom: {
    50: '#dcde78',
    500: '#c7d134',
    950: '#000000',
  },
}
SCSS
$custom: #c7d134;
$custom-light: #dcde78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d134",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 52
  },
  "hsl": {
    "h": 63.822,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8265,
    "c": 0.16953,
    "h": 113.3
  },
  "luminance": 0.57991
}

Semantic roles & 50–950 ramp

primary
#C7D134
secondary
#342F7A
accent
#42E64C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C7D134

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

Preview Lab → · Contrast checker → · Palette generator →

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