#C7B03E#C7B03E

#C7B03E is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.133 H 97.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C7B03E
RGBrgb(199, 176, 62)
HSLhsl(50, 55%, 51%)
HSVhsv(50, 69%, 78%)
CMYKcmyk(0%, 11.6%, 68.8%, 22%)
CIE-LABlab(71.92, -4.43, 58.85)
CIE-LCHlch(71.92, 59.01, 94.31°)
OKLaboklab(75.65% -0.0176 0.1318)
OKLCHoklch(75.65% 0.133 97.6)
XYZxyz(39.9499, 43.5426, 10.8568)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B03E #3E55C7
analogous
#C76B3E #C7B03E #99C73E
triadic
#C7B03E #3EC7B0 #B03EC7
tetradic
#C7B03E #3EC76B #3E55C7 #C73E99
square
#C7B03E #3EC76B #3E55C7 #C73E99
split-complementary
#C7B03E #3E99C7 #6B3EC7
monochromatic
#6B5F1F #9B882D #C7B03E #D5C36D #E3D79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B03E#FFFFFF#000000##000000
##C7B03E1.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)
#C1AC2E
Deuteranopia (green-blind)
#C7B444
Tritanopia (blue-blind)
#D6A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b03e;
/* rgb */ color: rgb(199, 176, 62);
/* oklch */ color: oklch(75.6% 0.133 97.6);
Tailwind
colors: {
  custom: {
    50: '#dcc77a',
    500: '#c7b03e',
    950: '#000000',
  },
}
SCSS
$custom: #c7b03e;
$custom-light: #dcc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b03e",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 49.927,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75647,
    "c": 0.133,
    "h": 97.6
  },
  "luminance": 0.43541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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