#C7C03E#C7C03E

#C7C03E is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.0% C 0.147 H 106.3°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#C7C03E
RGBrgb(199, 192, 62)
HSLhsl(57, 55%, 51%)
HSVhsv(57, 69%, 78%)
CMYKcmyk(0%, 3.5%, 68.8%, 22%)
CIE-LABlab(76.19, -12.70, 63.15)
CIE-LCHlch(76.19, 64.41, 101.37°)
OKLaboklab(79.03% -0.0411 0.1409)
OKLCHoklch(79.03% 0.147 106.3)
XYZxyz(43.2740, 50.1907, 11.9648)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C03E #3E45C7
analogous
#C77B3E #C7C03E #89C73E
triadic
#C7C03E #3EC7C0 #C03EC7
tetradic
#C7C03E #3EC77B #3E45C7 #C73E89
square
#C7C03E #3EC77B #3E45C7 #C73E89
split-complementary
#C7C03E #3E89C7 #7B3EC7
monochromatic
#6B681F #9B952D #C7C03E #D5CF6D #E3DF9D

Accessibility & contrast

On white

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

On black

11.04
#C7C03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C03E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C03E#FFFFFF#000000##000000
##C7C03E1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92A
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#D5B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c03e;
/* rgb */ color: rgb(199, 192, 62);
/* oklch */ color: oklch(79.0% 0.147 106.3);
Tailwind
colors: {
  custom: {
    50: '#dbd27b',
    500: '#c7c03e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c03e;
$custom-light: #dbd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c03e",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 56.934,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79034,
    "c": 0.14677,
    "h": 106.3
  },
  "luminance": 0.50189
}

Semantic roles & 50–950 ramp

primary
#C7C03E
secondary
#343775
accent
#51DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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