#C7C03F#C7C03F

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

Color values

HEX#C7C03F
RGBrgb(199, 192, 63)
HSLhsl(57, 55%, 51%)
HSVhsv(57, 68%, 78%)
CMYKcmyk(0%, 3.5%, 68.3%, 22%)
CIE-LABlab(76.19, -12.65, 62.77)
CIE-LCHlch(76.19, 64.03, 101.39°)
OKLaboklab(79.04% -0.0408 0.1403)
OKLCHoklch(79.04% 0.146 106.2)
XYZxyz(43.3017, 50.2018, 12.1106)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C03F #3F46C7
analogous
#C77C3F #C7C03F #8AC73F
triadic
#C7C03F #3FC7C0 #C03FC7
tetradic
#C7C03F #3FC77C #3F46C7 #C73F8A
square
#C7C03F #3FC77C #3F46C7 #C73F8A
split-complementary
#C7C03F #3F8AC7 #7C3FC7
monochromatic
#6C6820 #9B962D #C7C03F #D5D06E #E3DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C03F#FFFFFF#000000##000000
##C7C03F1.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)
#D0B92C
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#D5B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c03f;
/* rgb */ color: rgb(199, 192, 63);
/* oklch */ color: oklch(79.0% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#dbd27c',
    500: '#c7c03f',
    950: '#000000',
  },
}
SCSS
$custom: #c7c03f;
$custom-light: #dbd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c03f",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 56.912,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79042,
    "c": 0.1461,
    "h": 106.2
  },
  "luminance": 0.502
}

Semantic roles & 50–950 ramp

primary
#C7C03F
secondary
#343876
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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