#C7D33B#C7D33B

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

Color values

HEX#C7D33B
RGBrgb(199, 211, 59)
HSLhsl(65, 63%, 53%)
HSVhsv(65, 72%, 83%)
CMYKcmyk(5.7%, 0%, 72%, 17.3%)
CIE-LABlab(81.32, -22.30, 69.24)
CIE-LCHlch(81.32, 72.75, 107.85°)
OKLaboklab(83.13% -0.0682 0.1533)
OKLCHoklch(83.13% 0.168 114)
XYZxyz(47.6383, 59.0474, 13.0246)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D33B #473BD3
analogous
#D3933B #C7D33B #7BD33B
triadic
#C7D33B #3BC7D3 #D33BC7
tetradic
#C7D33B #3BD393 #473BD3 #D33B7B
square
#C7D33B #3BD393 #473BD3 #D33B7B
split-complementary
#C7D33B #3B7BD3 #933BD3
monochromatic
#71791B #A0AB26 #C7D33B #D5DE6D #E4E99F

Accessibility & contrast

On white

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

On black

12.81
#C7D33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D33B
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D33B#FFFFFF#000000##000000
##C7D33B1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C91D
Deuteranopia (green-blind)
#E2CB47
Tritanopia (blue-blind)
#D4C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d33b;
/* rgb */ color: rgb(199, 211, 59);
/* oklch */ color: oklch(83.1% 0.168 114.0);
Tailwind
colors: {
  custom: {
    50: '#dce07b',
    500: '#c7d33b',
    950: '#000000',
  },
}
SCSS
$custom: #c7d33b;
$custom-light: #dce07b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d33b",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 59
  },
  "hsl": {
    "h": 64.737,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8313,
    "c": 0.16777,
    "h": 114
  },
  "luminance": 0.59046
}

Semantic roles & 50–950 ramp

primary
#C7D33B
secondary
#383281
accent
#41E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D33B

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

Preview Lab → · Contrast checker → · Palette generator →

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