#C7D334#C7D334

#C7D334 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.1% C 0.172 H 114.0°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#C7D334
RGBrgb(199, 211, 52)
HSLhsl(65, 64%, 52%)
HSVhsv(65, 75%, 83%)
CMYKcmyk(5.7%, 0%, 75.4%, 17.3%)
CIE-LABlab(81.28, -22.61, 71.49)
CIE-LCHlch(81.28, 74.98, 107.55°)
OKLaboklab(83.09% -0.0697 0.1568)
OKLCHoklch(83.09% 0.172 114)
XYZxyz(47.4687, 58.9795, 12.1318)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D334 #4034D3
analogous
#D38F34 #C7D334 #78D334
triadic
#C7D334 #34C7D3 #D334C7
tetradic
#C7D334 #34D38F #4034D3 #D33478
square
#C7D334 #34D38F #4034D3 #D33478
split-complementary
#C7D334 #3478D3 #8F34D3
monochromatic
#6D7419 #9CA624 #C7D334 #D5DE66 #E3E999

Accessibility & contrast

On white

1.64
#C7D334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#C7D334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D334
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D334#FFFFFF#000000##000000
##C7D3341.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C908
Deuteranopia (green-blind)
#E2CB42
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d334;
/* rgb */ color: rgb(199, 211, 52);
/* oklch */ color: oklch(83.1% 0.172 114.0);
Tailwind
colors: {
  custom: {
    50: '#dce078',
    500: '#c7d334',
    950: '#000000',
  },
}
SCSS
$custom: #c7d334;
$custom-light: #dce078;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d334",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 52
  },
  "hsl": {
    "h": 64.528,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83088,
    "c": 0.17159,
    "h": 114
  },
  "luminance": 0.58979
}

Semantic roles & 50–950 ramp

primary
#C7D334
secondary
#352F7C
accent
#40E74D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C7D334

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

Preview Lab → · Contrast checker → · Palette generator →

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