#C7B442#C7B442

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

Color values

HEX#C7B442
RGBrgb(199, 180, 66)
HSLhsl(51, 54%, 52%)
HSVhsv(51, 67%, 78%)
CMYKcmyk(0%, 9.5%, 66.8%, 22%)
CIE-LABlab(73.01, -6.30, 58.32)
CIE-LCHlch(73.01, 58.66, 96.17°)
OKLaboklab(76.52% -0.0225 0.1314)
OKLCHoklch(76.52% 0.133 99.7)
XYZxyz(40.8596, 45.1798, 11.7215)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B442 #4255C7
analogous
#C77242 #C7B442 #97C742
triadic
#C7B442 #42C7B4 #B442C7
tetradic
#C7B442 #42C772 #4255C7 #C74297
square
#C7B442 #42C772 #4255C7 #C74297
split-complementary
#C7B442 #4297C7 #7242C7
monochromatic
#6E6321 #9D8D2F #C7B442 #D5C771 #E3D9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B442#FFFFFF#000000##000000
##C7B4421.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)
#C5AF33
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#D6A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7b442;
/* rgb */ color: rgb(199, 180, 66);
/* oklch */ color: oklch(76.5% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#dbca7c',
    500: '#c7b442',
    950: '#000000',
  },
}
SCSS
$custom: #c7b442;
$custom-light: #dbca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b442",
  "rgb": {
    "r": 199,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 51.429,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76519,
    "c": 0.13331,
    "h": 99.7
  },
  "luminance": 0.45178
}

Semantic roles & 50–950 ramp

primary
#C7B442
secondary
#959ED0
accent
#5FDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B442

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

Preview Lab → · Contrast checker → · Palette generator →

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