#C7B139#C7B139

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

Color values

HEX#C7B139
RGBrgb(199, 177, 57)
HSLhsl(51, 56%, 50%)
HSVhsv(51, 71%, 78%)
CMYKcmyk(0%, 11.1%, 71.4%, 22%)
CIE-LABlab(72.15, -5.22, 61.05)
CIE-LCHlch(72.15, 61.28, 94.88°)
OKLaboklab(75.82% -0.0204 0.1356)
OKLCHoklch(75.82% 0.137 98.6)
XYZxyz(40.0158, 43.8838, 10.2328)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B139 #394FC7
analogous
#C76A39 #C7B139 #96C739
triadic
#C7B139 #39C7B1 #B139C7
tetradic
#C7B139 #39C76A #394FC7 #C73996
square
#C7B139 #39C76A #394FC7 #C73996
split-complementary
#C7B139 #3996C7 #6A39C7
monochromatic
#685D1D #98872B #C7B139 #D4C469 #E2D798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B139#FFFFFF#000000##000000
##C7B1391.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)
#C2AC26
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#D7A499
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7b139;
/* rgb */ color: rgb(199, 177, 57);
/* oklch */ color: oklch(75.8% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#dcc777',
    500: '#c7b139',
    950: '#000000',
  },
}
SCSS
$custom: #c7b139;
$custom-light: #dcc777;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b139",
  "rgb": {
    "r": 199,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 50.704,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75817,
    "c": 0.13713,
    "h": 98.6
  },
  "luminance": 0.43882
}

Semantic roles & 50–950 ramp

primary
#C7B139
secondary
#8E98CE
accent
#60DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C7B139

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

Preview Lab → · Contrast checker → · Palette generator →

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