#C7C12D#C7C12D

#C7C12D is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.1% C 0.157 H 107.1°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C7C12D
RGBrgb(199, 193, 45)
HSLhsl(58, 63%, 48%)
HSVhsv(58, 77%, 78%)
CMYKcmyk(0%, 3%, 77.4%, 22%)
CIE-LABlab(76.36, -13.97, 69.14)
CIE-LCHlch(76.36, 70.54, 101.42°)
OKLaboklab(79.14% -0.0462 0.1506)
OKLCHoklch(79.14% 0.157 107.1)
XYZxyz(43.0986, 50.4731, 9.9541)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C12D #2D33C7
analogous
#C7742D #C7C12D #80C72D
triadic
#C7C12D #2DC7C1 #C12DC7
tetradic
#C7C12D #2DC774 #2D33C7 #C72D80
square
#C7C12D #2DC774 #2D33C7 #C72D80
split-complementary
#C7C12D #2D80C7 #742DC7
monochromatic
#636016 #959122 #C7C12D #D9D458 #E5E18A

Accessibility & contrast

On white

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

On black

11.09
#C7C12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C12D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C12D#FFFFFF#000000##000000
##C7C12D1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B900
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#D6B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c12d;
/* rgb */ color: rgb(199, 193, 45);
/* oklch */ color: oklch(79.1% 0.157 107.1);
Tailwind
colors: {
  custom: {
    50: '#dcd373',
    500: '#c7c12d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c12d;
$custom-light: #dcd373;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c12d",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 57.662,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79141,
    "c": 0.15749,
    "h": 107.1
  },
  "luminance": 0.50472
}

Semantic roles & 50–950 ramp

primary
#C7C12D
secondary
#2A2D6E
accent
#48E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C12D

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

Preview Lab → · Contrast checker → · Palette generator →

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