#C7C933#C7C933

#C7C933 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.9% C 0.162 H 110.3°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#C7C933
RGBrgb(199, 201, 51)
HSLhsl(61, 60%, 49%)
HSVhsv(61, 75%, 79%)
CMYKcmyk(1%, 0%, 74.6%, 21.2%)
CIE-LABlab(78.55, -17.74, 69.28)
CIE-LCHlch(78.55, 71.52, 104.37°)
OKLaboklab(80.9% -0.0562 0.1519)
OKLCHoklch(80.9% 0.162 110.3)
XYZxyz(45.0390, 54.1557, 11.2119)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C933 #3533C9
analogous
#C98033 #C7C933 #7CC933
triadic
#C7C933 #33C7C9 #C933C7
tetradic
#C7C933 #33C980 #3533C9 #C9337C
square
#C7C933 #33C980 #3533C9 #C9337C
split-complementary
#C7C933 #337CC9 #8033C9
monochromatic
#66671A #979827 #C7C933 #D6D762 #E2E493

Accessibility & contrast

On white

1.78
#C7C933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#C7C933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C933
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C933#FFFFFF#000000##000000
##C7C9331.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C00E
Deuteranopia (green-blind)
#DBC43F
Tritanopia (blue-blind)
#D5BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c933;
/* rgb */ color: rgb(199, 201, 51);
/* oklch */ color: oklch(80.9% 0.162 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd976',
    500: '#c7c933',
    950: '#000000',
  },
}
SCSS
$custom: #c7c933;
$custom-light: #dcd976;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c933",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 60.8,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80902,
    "c": 0.16202,
    "h": 110.3
  },
  "luminance": 0.54154
}

Semantic roles & 50–950 ramp

primary
#C7C933
secondary
#302F71
accent
#45E347
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C933

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

Preview Lab → · Contrast checker → · Palette generator →

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