#C7B13E#C7B13E

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

Color values

HEX#C7B13E
RGBrgb(199, 177, 62)
HSLhsl(50, 55%, 51%)
HSVhsv(50, 69%, 78%)
CMYKcmyk(0%, 11.1%, 68.8%, 22%)
CIE-LABlab(72.19, -4.96, 59.12)
CIE-LCHlch(72.19, 59.32, 94.80°)
OKLaboklab(75.86% -0.0191 0.1324)
OKLCHoklch(75.86% 0.134 98.2)
XYZxyz(40.1467, 43.9361, 10.9224)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B13E #3E54C7
analogous
#C76C3E #C7B13E #98C73E
triadic
#C7B13E #3EC7B1 #B13EC7
tetradic
#C7B13E #3EC76C #3E54C7 #C73E98
square
#C7B13E #3EC76C #3E54C7 #C73E98
split-complementary
#C7B13E #3E98C7 #6C3EC7
monochromatic
#6B5F1F #9B892D #C7B13E #D5C46D #E3D79D

Accessibility & contrast

On white

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

On black

9.79
#C7B13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B13E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B13E#FFFFFF#000000##000000
##C7B13E1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7b13e;
/* rgb */ color: rgb(199, 177, 62);
/* oklch */ color: oklch(75.9% 0.134 98.2);
Tailwind
colors: {
  custom: {
    50: '#dcc87a',
    500: '#c7b13e',
    950: '#000000',
  },
}
SCSS
$custom: #c7b13e;
$custom-light: #dcc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b13e",
  "rgb": {
    "r": 199,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 50.365,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75856,
    "c": 0.13377,
    "h": 98.2
  },
  "luminance": 0.43934
}

Semantic roles & 50–950 ramp

primary
#C7B13E
secondary
#929CCF
accent
#61DE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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