#C7B642#C7B642

#C7B642 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.135 H 100.9°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#C7B642
RGBrgb(199, 182, 66)
HSLhsl(52, 54%, 52%)
HSVhsv(52, 67%, 78%)
CMYKcmyk(0%, 8.5%, 66.8%, 22%)
CIE-LABlab(73.54, -7.35, 58.87)
CIE-LCHlch(73.54, 59.33, 97.11°)
OKLaboklab(76.94% -0.0255 0.1326)
OKLCHoklch(76.94% 0.135 100.9)
XYZxyz(41.2663, 45.9931, 11.8571)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B642 #4253C7
analogous
#C77442 #C7B642 #96C742
triadic
#C7B642 #42C7B6 #B642C7
tetradic
#C7B642 #42C774 #4253C7 #C74296
square
#C7B642 #42C774 #4253C7 #C74296
split-complementary
#C7B642 #4296C7 #7442C7
monochromatic
#6E6421 #9D8F2F #C7B642 #D5C871 #E3DAA0

Accessibility & contrast

On white

2.06
#C7B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#C7B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B642
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B642#FFFFFF#000000##000000
##C7B6421.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#CBB849
Tritanopia (blue-blind)
#D6A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b642;
/* rgb */ color: rgb(199, 182, 66);
/* oklch */ color: oklch(76.9% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#dbcb7c',
    500: '#c7b642',
    950: '#000000',
  },
}
SCSS
$custom: #c7b642;
$custom-light: #dbcb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b642",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 52.331,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.13498,
    "h": 100.9
  },
  "luminance": 0.45991
}

Semantic roles & 50–950 ramp

primary
#C7B642
secondary
#959DD0
accent
#5DDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B642

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

Preview Lab → · Contrast checker → · Palette generator →

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