#C7C13A#C7C13A

#C7C13A is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.150 H 106.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#C7C13A
RGBrgb(199, 193, 58)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 3%, 70.9%, 22%)
CIE-LABlab(76.43, -13.41, 64.87)
CIE-LCHlch(76.43, 66.25, 101.68°)
OKLaboklab(79.22% -0.0435 0.1439)
OKLCHoklch(79.22% 0.15 106.8)
XYZxyz(43.3886, 50.5890, 11.4813)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C13A #3A40C7
analogous
#C77B3A #C7C13A #86C73A
triadic
#C7C13A #3AC7C1 #C13AC7
tetradic
#C7C13A #3AC77B #3A40C7 #C73A86
square
#C7C13A #3AC77B #3A40C7 #C73A86
split-complementary
#C7C13A #3A86C7 #7B3AC7
monochromatic
#69661E #98942B #C7C13A #D5D06A #E2DF99

Accessibility & contrast

On white

1.89
#C7C13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#C7C13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C13A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C13A#FFFFFF#000000##000000
##C7C13A1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA23
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#D5B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c13a;
/* rgb */ color: rgb(199, 193, 58);
/* oklch */ color: oklch(79.2% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd379',
    500: '#c7c13a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c13a;
$custom-light: #dcd379;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c13a",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 57.447,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7922,
    "c": 0.15029,
    "h": 106.8
  },
  "luminance": 0.50588
}

Semantic roles & 50–950 ramp

primary
#C7C13A
secondary
#323573
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C13A

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

Preview Lab → · Contrast checker → · Palette generator →

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