#C7B03F#C7B03F

#C7B03F is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.7% C 0.132 H 97.5°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C7B03F
RGBrgb(199, 176, 63)
HSLhsl(50, 55%, 51%)
HSVhsv(50, 68%, 78%)
CMYKcmyk(0%, 11.6%, 68.3%, 22%)
CIE-LABlab(71.93, -4.38, 58.45)
CIE-LCHlch(71.93, 58.61, 94.29°)
OKLaboklab(75.66% -0.0174 0.1312)
OKLCHoklch(75.66% 0.132 97.5)
XYZxyz(39.9776, 43.5536, 11.0026)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B03F #3F56C7
analogous
#C76C3F #C7B03F #9AC73F
triadic
#C7B03F #3FC7B0 #B03FC7
tetradic
#C7B03F #3FC76C #3F56C7 #C73F9A
square
#C7B03F #3FC76C #3F56C7 #C73F9A
split-complementary
#C7B03F #3F9AC7 #6C3FC7
monochromatic
#6C5F20 #9B892D #C7B03F #D5C36E #E3D79E

Accessibility & contrast

On white

2.16
#C7B03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C7B03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B03F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B03F#FFFFFF#000000##000000
##C7B03F1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#C7B445
Tritanopia (blue-blind)
#D6A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b03f;
/* rgb */ color: rgb(199, 176, 63);
/* oklch */ color: oklch(75.7% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#dcc77a',
    500: '#c7b03f',
    950: '#000000',
  },
}
SCSS
$custom: #c7b03f;
$custom-light: #dcc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b03f",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 49.853,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75655,
    "c": 0.1323,
    "h": 97.5
  },
  "luminance": 0.43552
}

Semantic roles & 50–950 ramp

primary
#C7B03F
secondary
#939DCF
accent
#63DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B03F

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

Preview Lab → · Contrast checker → · Palette generator →

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