#C7B03B#C7B03B

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

Color values

HEX#C7B03B
RGBrgb(199, 176, 59)
HSLhsl(50, 56%, 51%)
HSVhsv(50, 70%, 78%)
CMYKcmyk(0%, 11.6%, 70.4%, 22%)
CIE-LABlab(71.90, -4.59, 60.03)
CIE-LCHlch(71.90, 60.20, 94.37°)
OKLaboklab(75.62% -0.0184 0.1338)
OKLCHoklch(75.62% 0.135 97.8)
XYZxyz(39.8698, 43.5105, 10.4351)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B03B #3B52C7
analogous
#C76A3B #C7B03B #98C73B
triadic
#C7B03B #3BC7B0 #B03BC7
tetradic
#C7B03B #3BC76A #3B52C7 #C73B98
square
#C7B03B #3BC76A #3B52C7 #C73B98
split-complementary
#C7B03B #3B98C7 #6A3BC7
monochromatic
#695D1E #99872C #C7B03B #D5C36B #E2D69A

Accessibility & contrast

On white

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

On black

9.70
#C7B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B03B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B03B#FFFFFF#000000##000000
##C7B03B1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2A
Deuteranopia (green-blind)
#C7B442
Tritanopia (blue-blind)
#D6A398
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7b03b;
/* rgb */ color: rgb(199, 176, 59);
/* oklch */ color: oklch(75.6% 0.135 97.8);
Tailwind
colors: {
  custom: {
    50: '#dcc778',
    500: '#c7b03b',
    950: '#000000',
  },
}
SCSS
$custom: #c7b03b;
$custom-light: #dcc778;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b03b",
  "rgb": {
    "r": 199,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 50.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75623,
    "c": 0.13505,
    "h": 97.8
  },
  "luminance": 0.43509
}

Semantic roles & 50–950 ramp

primary
#C7B03B
secondary
#909ACE
accent
#62DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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