#C7B53F#C7B53F

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

Color values

HEX#C7B53F
RGBrgb(199, 181, 63)
HSLhsl(52, 55%, 51%)
HSVhsv(52, 68%, 78%)
CMYKcmyk(0%, 9%, 68.3%, 22%)
CIE-LABlab(73.25, -6.99, 59.80)
CIE-LCHlch(73.25, 60.21, 96.67°)
OKLaboklab(76.7% -0.0248 0.134)
OKLCHoklch(76.7% 0.136 100.5)
XYZxyz(40.9761, 45.5506, 11.3354)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B53F #3F51C7
analogous
#C7713F #C7B53F #95C73F
triadic
#C7B53F #3FC7B5 #B53FC7
tetradic
#C7B53F #3FC771 #3F51C7 #C73F95
square
#C7B53F #3FC771 #3F51C7 #C73F95
split-complementary
#C7B53F #3F95C7 #713FC7
monochromatic
#6C6220 #9B8D2D #C7B53F #D5C76E #E3DA9E

Accessibility & contrast

On white

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

On black

10.11
#C7B53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B53F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B53F#FFFFFF#000000##000000
##C7B53F1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#CBB746
Tritanopia (blue-blind)
#D6A89D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b53f;
/* rgb */ color: rgb(199, 181, 63);
/* oklch */ color: oklch(76.7% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#dbca7b',
    500: '#c7b53f',
    950: '#000000',
  },
}
SCSS
$custom: #c7b53f;
$custom-light: #dbca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b53f",
  "rgb": {
    "r": 199,
    "g": 181,
    "b": 63
  },
  "hsl": {
    "h": 52.059,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76704,
    "c": 0.13628,
    "h": 100.5
  },
  "luminance": 0.45549
}

Semantic roles & 50–950 ramp

primary
#C7B53F
secondary
#939BCF
accent
#5DDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B53F

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

Preview Lab → · Contrast checker → · Palette generator →

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