#C7C930#C7C930

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

Color values

HEX#C7C930
RGBrgb(199, 201, 48)
HSLhsl(61, 61%, 49%)
HSVhsv(61, 76%, 79%)
CMYKcmyk(1%, 0%, 76.1%, 21.2%)
CIE-LABlab(78.54, -17.86, 70.20)
CIE-LCHlch(78.54, 72.44, 104.28°)
OKLaboklab(80.88% -0.0568 0.1534)
OKLCHoklch(80.88% 0.164 110.3)
XYZxyz(44.9750, 54.1301, 10.8748)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C930 #3230C9
analogous
#C97F30 #C7C930 #7BC930
triadic
#C7C930 #30C7C9 #C930C7
tetradic
#C7C930 #30C97F #3230C9 #C9307B
square
#C7C930 #30C97F #3230C9 #C9307B
split-complementary
#C7C930 #307BC9 #7F30C9
monochromatic
#656618 #969824 #C7C930 #D7D85E #E3E48F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C930#FFFFFF#000000##000000
##C7C9301.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)
#D9C003
Deuteranopia (green-blind)
#DBC43D
Tritanopia (blue-blind)
#D5BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c930;
/* rgb */ color: rgb(199, 201, 48);
/* oklch */ color: oklch(80.9% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd975',
    500: '#c7c930',
    950: '#000000',
  },
}
SCSS
$custom: #c7c930;
$custom-light: #dcd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c930",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 60.784,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80885,
    "c": 0.16356,
    "h": 110.3
  },
  "luminance": 0.54129
}

Semantic roles & 50–950 ramp

primary
#C7C930
secondary
#2E2D70
accent
#43E545
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C930

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

Preview Lab → · Contrast checker → · Palette generator →

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