#C7C833#C7C833

#C7C833 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.161 H 109.9°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C7C833
RGBrgb(199, 200, 51)
HSLhsl(60, 59%, 49%)
HSVhsv(60, 75%, 78%)
CMYKcmyk(0.5%, 0%, 74.5%, 21.6%)
CIE-LABlab(78.28, -17.25, 69.03)
CIE-LCHlch(78.28, 71.15, 104.03°)
OKLaboklab(80.69% -0.0549 0.1514)
OKLCHoklch(80.69% 0.161 109.9)
XYZxyz(44.8066, 53.6910, 11.1345)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C833 #3433C8
analogous
#C87F33 #C7C833 #7DC833
triadic
#C7C833 #33C7C8 #C833C7
tetradic
#C7C833 #33C87F #3433C8 #C8337D
square
#C7C833 #33C87F #3433C8 #C8337D
split-complementary
#C7C833 #337DC8 #7F33C8
monochromatic
#66661A #969727 #C7C833 #D6D761 #E3E392

Accessibility & contrast

On white

1.79
#C7C833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#C7C833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C833
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C833#FFFFFF#000000##000000
##C7C8331.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF0F
Deuteranopia (green-blind)
#DAC43F
Tritanopia (blue-blind)
#D5BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c833;
/* rgb */ color: rgb(199, 200, 51);
/* oklch */ color: oklch(80.7% 0.161 109.9);
Tailwind
colors: {
  custom: {
    50: '#dcd876',
    500: '#c7c833',
    950: '#000000',
  },
}
SCSS
$custom: #c7c833;
$custom-light: #dcd876;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c833",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 51
  },
  "hsl": {
    "h": 60.403,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80685,
    "c": 0.16103,
    "h": 109.9
  },
  "luminance": 0.5369
}

Semantic roles & 50–950 ramp

primary
#C7C833
secondary
#2F2F71
accent
#45E346
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C833

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

Preview Lab → · Contrast checker → · Palette generator →

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