#C7C13C#C7C13C

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

Color values

HEX#C7C13C
RGBrgb(199, 193, 60)
HSLhsl(57, 55%, 51%)
HSVhsv(57, 70%, 78%)
CMYKcmyk(0%, 3%, 69.8%, 22%)
CIE-LABlab(76.44, -13.31, 64.15)
CIE-LCHlch(76.44, 65.52, 101.72°)
OKLaboklab(79.23% -0.043 0.1427)
OKLCHoklch(79.23% 0.149 106.8)
XYZxyz(43.4404, 50.6098, 11.7545)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C13C #3C42C7
analogous
#C77B3C #C7C13C #87C73C
triadic
#C7C13C #3CC7C1 #C13CC7
tetradic
#C7C13C #3CC77B #3C42C7 #C73C87
square
#C7C13C #3CC77B #3C42C7 #C73C87
split-complementary
#C7C13C #3C87C7 #7B3CC7
monochromatic
#6A671E #9A952C #C7C13C #D5D06C #E2DF9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C13C#FFFFFF#000000##000000
##C7C13C1.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)
#D1BA26
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#D5B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7c13c;
/* rgb */ color: rgb(199, 193, 60);
/* oklch */ color: oklch(79.2% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd37a',
    500: '#c7c13c',
    950: '#000000',
  },
}
SCSS
$custom: #c7c13c;
$custom-light: #dcd37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c13c",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 57.41,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79234,
    "c": 0.14902,
    "h": 106.8
  },
  "luminance": 0.50608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C13C

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

Preview Lab → · Contrast checker → · Palette generator →

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