#C7B539#C7B539

#C7B539 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.7% C 0.140 H 100.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#C7B539
RGBrgb(199, 181, 57)
HSLhsl(52, 56%, 50%)
HSVhsv(52, 71%, 78%)
CMYKcmyk(0%, 9%, 71.4%, 22%)
CIE-LABlab(73.21, -7.30, 62.10)
CIE-LCHlch(73.21, 62.53, 96.71°)
OKLaboklab(76.66% -0.0263 0.1378)
OKLCHoklch(76.66% 0.14 100.8)
XYZxyz(40.8174, 45.4871, 10.5000)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B539 #394BC7
analogous
#C76E39 #C7B539 #92C739
triadic
#C7B539 #39C7B5 #B539C7
tetradic
#C7B539 #39C76E #394BC7 #C73992
square
#C7B539 #39C76E #394BC7 #C73992
split-complementary
#C7B539 #3992C7 #6E39C7
monochromatic
#685F1D #988A2B #C7B539 #D4C769 #E2D998

Accessibility & contrast

On white

2.08
#C7B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#C7B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B539
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B539#FFFFFF#000000##000000
##C7B5391.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#D6A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b539;
/* rgb */ color: rgb(199, 181, 57);
/* oklch */ color: oklch(76.7% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#dcca77',
    500: '#c7b539',
    950: '#000000',
  },
}
SCSS
$custom: #c7b539;
$custom-light: #dcca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b539",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 52.394,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76658,
    "c": 0.14031,
    "h": 100.8
  },
  "luminance": 0.45485
}

Semantic roles & 50–950 ramp

primary
#C7B539
secondary
#8E96CE
accent
#5CDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B539

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

Preview Lab → · Contrast checker → · Palette generator →

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