#C7B13D#C7B13D

#C7B13D is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.134 H 98.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C7B13D
RGBrgb(199, 177, 61)
HSLhsl(50, 55%, 51%)
HSVhsv(50, 69%, 78%)
CMYKcmyk(0%, 11.1%, 69.3%, 22%)
CIE-LABlab(72.18, -5.01, 59.51)
CIE-LCHlch(72.18, 59.72, 94.81°)
OKLaboklab(75.85% -0.0194 0.1331)
OKLCHoklch(75.85% 0.134 98.3)
XYZxyz(40.1195, 43.9253, 10.7792)
Luminance0.4392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B13D #3D53C7
analogous
#C76C3D #C7B13D #98C73D
triadic
#C7B13D #3DC7B1 #B13DC7
tetradic
#C7B13D #3DC76C #3D53C7 #C73D98
square
#C7B13D #3DC76C #3D53C7 #C73D98
split-complementary
#C7B13D #3D98C7 #6C3DC7
monochromatic
#6B5F1F #9A892D #C7B13D #D5C46C #E2D79C

Accessibility & contrast

On white

2.15
#C7B13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C7B13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B13D
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B13D#FFFFFF#000000##000000
##C7B13D1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2D
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#D6A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7b13d;
/* rgb */ color: rgb(199, 177, 61);
/* oklch */ color: oklch(75.8% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#dcc879',
    500: '#c7b13d',
    950: '#000000',
  },
}
SCSS
$custom: #c7b13d;
$custom-light: #dcc879;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b13d",
  "rgb": {
    "r": 199,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 50.435,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75848,
    "c": 0.13446,
    "h": 98.3
  },
  "luminance": 0.43923
}

Semantic roles & 50–950 ramp

primary
#C7B13D
secondary
#919BCE
accent
#61DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C7B13D

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

Preview Lab → · Contrast checker → · Palette generator →

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