#C7D335#C7D335

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

Color values

HEX#C7D335
RGBrgb(199, 211, 53)
HSLhsl(65, 64%, 52%)
HSVhsv(65, 75%, 83%)
CMYKcmyk(5.7%, 0%, 74.9%, 17.3%)
CIE-LABlab(81.29, -22.57, 71.18)
CIE-LCHlch(81.29, 74.67, 107.59°)
OKLaboklab(83.09% -0.0695 0.1563)
OKLCHoklch(83.09% 0.171 114)
XYZxyz(47.4915, 58.9886, 12.2516)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D335 #4135D3
analogous
#D39035 #C7D335 #78D335
triadic
#C7D335 #35C7D3 #D335C7
tetradic
#C7D335 #35D390 #4135D3 #D33578
square
#C7D335 #35D390 #4135D3 #D33578
split-complementary
#C7D335 #3578D3 #9035D3
monochromatic
#6D7419 #9DA724 #C7D335 #D5DE67 #E3E99A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D335#FFFFFF#000000##000000
##C7D3351.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)
#E3C90D
Deuteranopia (green-blind)
#E2CB43
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d335;
/* rgb */ color: rgb(199, 211, 53);
/* oklch */ color: oklch(83.1% 0.171 114.0);
Tailwind
colors: {
  custom: {
    50: '#dce079',
    500: '#c7d335',
    950: '#000000',
  },
}
SCSS
$custom: #c7d335;
$custom-light: #dce079;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d335",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 53
  },
  "hsl": {
    "h": 64.557,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.83093,
    "c": 0.17107,
    "h": 114
  },
  "luminance": 0.58988
}

Semantic roles & 50–950 ramp

primary
#C7D335
secondary
#352F7D
accent
#41E74D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D335

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

Preview Lab → · Contrast checker → · Palette generator →

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