#C7B445#C7B445

#C7B445 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.131 H 99.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C7B445
RGBrgb(199, 180, 69)
HSLhsl(51, 54%, 53%)
HSVhsv(51, 65%, 78%)
CMYKcmyk(0%, 9.5%, 65.3%, 22%)
CIE-LABlab(73.03, -6.13, 57.09)
CIE-LCHlch(73.03, 57.42, 96.13°)
OKLaboklab(76.55% -0.0217 0.1293)
OKLCHoklch(76.55% 0.131 99.5)
XYZxyz(40.9504, 45.2161, 12.1996)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B445 #4558C7
analogous
#C77345 #C7B445 #99C745
triadic
#C7B445 #45C7B4 #B445C7
tetradic
#C7B445 #45C773 #4558C7 #C74599
square
#C7B445 #45C773 #4558C7 #C74599
split-complementary
#C7B445 #4599C7 #7345C7
monochromatic
#706422 #9F8F30 #C7B445 #D5C774 #E3DAA3

Accessibility & contrast

On white

2.09
#C7B445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#C7B445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B445
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B445#FFFFFF#000000##000000
##C7B4451.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF37
Deuteranopia (green-blind)
#CAB64B
Tritanopia (blue-blind)
#D6A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b445;
/* rgb */ color: rgb(199, 180, 69);
/* oklch */ color: oklch(76.5% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#dbca7e',
    500: '#c7b445',
    950: '#000000',
  },
}
SCSS
$custom: #c7b445;
$custom-light: #dbca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b445",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 51.231,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76545,
    "c": 0.13106,
    "h": 99.5
  },
  "luminance": 0.45214
}

Semantic roles & 50–950 ramp

primary
#C7B445
secondary
#98A0D0
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B445

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

Preview Lab → · Contrast checker → · Palette generator →

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