#C7B640#C7B640

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

Color values

HEX#C7B640
RGBrgb(199, 182, 64)
HSLhsl(52, 55%, 52%)
HSVhsv(52, 68%, 78%)
CMYKcmyk(0%, 8.5%, 67.8%, 22%)
CIE-LABlab(73.53, -7.46, 59.67)
CIE-LCHlch(73.53, 60.14, 97.12°)
OKLaboklab(76.92% -0.026 0.1339)
OKLCHoklch(76.92% 0.136 101)
XYZxyz(41.2083, 45.9700, 11.5520)
Luminance0.4597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B640 #4051C7
analogous
#C77340 #C7B640 #95C740
triadic
#C7B640 #40C7B6 #B640C7
tetradic
#C7B640 #40C773 #4051C7 #C74095
square
#C7B640 #40C773 #4051C7 #C74095
split-complementary
#C7B640 #4095C7 #7340C7
monochromatic
#6D6320 #9C8E2E #C7B640 #D5C86F #E3DA9F

Accessibility & contrast

On white

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

On black

10.19
#C7B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B640
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B640#FFFFFF#000000##000000
##C7B6401.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7b640;
/* rgb */ color: rgb(199, 182, 64);
/* oklch */ color: oklch(76.9% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#dbcb7b',
    500: '#c7b640',
    950: '#000000',
  },
}
SCSS
$custom: #c7b640;
$custom-light: #dbcb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b640",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 52.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76923,
    "c": 0.13642,
    "h": 101
  },
  "luminance": 0.45968
}

Semantic roles & 50–950 ramp

primary
#C7B640
secondary
#949BCF
accent
#5CDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B640

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

Preview Lab → · Contrast checker → · Palette generator →

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