#C7B439#C7B439

#C7B439 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.4% C 0.140 H 100.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#C7B439
RGBrgb(199, 180, 57)
HSLhsl(52, 56%, 50%)
HSVhsv(52, 71%, 78%)
CMYKcmyk(0%, 9.5%, 71.4%, 22%)
CIE-LABlab(72.95, -6.78, 61.84)
CIE-LCHlch(72.95, 62.21, 96.26°)
OKLaboklab(76.45% -0.0249 0.1373)
OKLCHoklch(76.45% 0.14 100.3)
XYZxyz(40.6148, 45.0819, 10.4324)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B439 #394CC7
analogous
#C76D39 #C7B439 #93C739
triadic
#C7B439 #39C7B4 #B439C7
tetradic
#C7B439 #39C76D #394CC7 #C73993
square
#C7B439 #39C76D #394CC7 #C73993
split-complementary
#C7B439 #3993C7 #6D39C7
monochromatic
#685E1D #98892B #C7B439 #D4C669 #E2D898

Accessibility & contrast

On white

2.10
#C7B439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#C7B439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B439
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B439#FFFFFF#000000##000000
##C7B4391.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF25
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D6A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b439;
/* rgb */ color: rgb(199, 180, 57);
/* oklch */ color: oklch(76.4% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#dcca77',
    500: '#c7b439',
    950: '#000000',
  },
}
SCSS
$custom: #c7b439;
$custom-light: #dcca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b439",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 51.972,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76447,
    "c": 0.1395,
    "h": 100.3
  },
  "luminance": 0.4508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7B439

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

Preview Lab → · Contrast checker → · Palette generator →

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