#C7C03B#C7C03B

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

Color values

HEX#C7C03B
RGBrgb(199, 192, 59)
HSLhsl(57, 56%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 3.5%, 70.4%, 22%)
CIE-LABlab(76.17, -12.86, 64.25)
CIE-LCHlch(76.17, 65.52, 101.32°)
OKLaboklab(79.01% -0.0418 0.1427)
OKLCHoklch(79.01% 0.149 106.3)
XYZxyz(43.1939, 50.1587, 11.5432)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C03B #3B42C7
analogous
#C77A3B #C7C03B #88C73B
triadic
#C7C03B #3BC7C0 #C03BC7
tetradic
#C7C03B #3BC77A #3B42C7 #C73B88
square
#C7C03B #3BC77A #3B42C7 #C73B88
split-complementary
#C7C03B #3B88C7 #7A3BC7
monochromatic
#69661E #99942C #C7C03B #D5CF6B #E2DF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C03B#FFFFFF#000000##000000
##C7C03B1.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)
#D0B925
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#D5B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c03b;
/* rgb */ color: rgb(199, 192, 59);
/* oklch */ color: oklch(79.0% 0.149 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcd279',
    500: '#c7c03b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c03b;
$custom-light: #dcd279;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c03b",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 57,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79013,
    "c": 0.14872,
    "h": 106.3
  },
  "luminance": 0.50157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C03B

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

Preview Lab → · Contrast checker → · Palette generator →

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