#C7B339#C7B339

#C7B339 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.139 H 99.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#C7B339
RGBrgb(199, 179, 57)
HSLhsl(52, 56%, 50%)
HSVhsv(52, 71%, 78%)
CMYKcmyk(0%, 10.1%, 71.4%, 22%)
CIE-LABlab(72.68, -6.26, 61.58)
CIE-LCHlch(72.68, 61.89, 95.81°)
OKLaboklab(76.24% -0.0234 0.1367)
OKLCHoklch(76.24% 0.139 99.7)
XYZxyz(40.4137, 44.6796, 10.3654)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B339 #394DC7
analogous
#C76C39 #C7B339 #94C739
triadic
#C7B339 #39C7B3 #B339C7
tetradic
#C7B339 #39C76C #394DC7 #C73994
square
#C7B339 #39C76C #394DC7 #C73994
split-complementary
#C7B339 #3994C7 #6C39C7
monochromatic
#685E1D #98892B #C7B339 #D4C569 #E2D898

Accessibility & contrast

On white

2.11
#C7B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#C7B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B339
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B339#FFFFFF#000000##000000
##C7B3391.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D6A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7b339;
/* rgb */ color: rgb(199, 179, 57);
/* oklch */ color: oklch(76.2% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#dcc977',
    500: '#c7b339',
    950: '#000000',
  },
}
SCSS
$custom: #c7b339;
$custom-light: #dcc977;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b339",
  "rgb": {
    "r": 199,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 51.549,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76237,
    "c": 0.1387,
    "h": 99.7
  },
  "luminance": 0.44678
}

Semantic roles & 50–950 ramp

primary
#C7B339
secondary
#8E97CE
accent
#5EDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7B339

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

Preview Lab → · Contrast checker → · Palette generator →

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