#C7C03A#C7C03A

#C7C03A is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.149 H 106.4°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C7C03A
RGBrgb(199, 192, 58)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 3.5%, 70.9%, 22%)
CIE-LABlab(76.16, -12.91, 64.61)
CIE-LCHlch(76.16, 65.89, 101.30°)
OKLaboklab(79.01% -0.0421 0.1433)
OKLCHoklch(79.01% 0.149 106.4)
XYZxyz(43.1682, 50.1484, 11.4079)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C03A #3A41C7
analogous
#C7793A #C7C03A #88C73A
triadic
#C7C03A #3AC7C0 #C03AC7
tetradic
#C7C03A #3AC779 #3A41C7 #C73A88
square
#C7C03A #3AC779 #3A41C7 #C73A88
split-complementary
#C7C03A #3A88C7 #793AC7
monochromatic
#69651E #98932B #C7C03A #D5CF6A #E2DE99

Accessibility & contrast

On white

1.90
#C7C03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#C7C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C03A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C03A#FFFFFF#000000##000000
##C7C03A1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B923
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#D6B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c03a;
/* rgb */ color: rgb(199, 192, 58);
/* oklch */ color: oklch(79.0% 0.149 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcd279',
    500: '#c7c03a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c03a;
$custom-light: #dcd279;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c03a",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 57.021,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79005,
    "c": 0.14935,
    "h": 106.4
  },
  "luminance": 0.50147
}

Semantic roles & 50–950 ramp

primary
#C7C03A
secondary
#323673
accent
#50DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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