#C7B648#C7B648

#C7B648 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.0% C 0.130 H 100.5°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C7B648
RGBrgb(199, 182, 72)
HSLhsl(52, 53%, 53%)
HSVhsv(52, 64%, 78%)
CMYKcmyk(0%, 8.5%, 63.8%, 22%)
CIE-LABlab(73.59, -6.99, 56.39)
CIE-LCHlch(73.59, 56.82, 97.06°)
OKLaboklab(76.99% -0.0238 0.1282)
OKLCHoklch(76.99% 0.13 100.5)
XYZxyz(41.4525, 46.0677, 12.8381)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B648 #4859C7
analogous
#C77748 #C7B648 #98C748
triadic
#C7B648 #48C7B6 #B648C7
tetradic
#C7B648 #48C777 #4859C7 #C74898
square
#C7B648 #48C777 #4859C7 #C74898
split-complementary
#C7B648 #4898C7 #7748C7
monochromatic
#726723 #A19231 #C7B648 #D5C977 #E4DBA6

Accessibility & contrast

On white

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

On black

10.21
#C7B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B648
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B648#FFFFFF#000000##000000
##C7B6481.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CBB84E
Tritanopia (blue-blind)
#D6AA9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b648;
/* rgb */ color: rgb(199, 182, 72);
/* oklch */ color: oklch(77.0% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#dbcb80',
    500: '#c7b648',
    950: '#000000',
  },
}
SCSS
$custom: #c7b648;
$custom-light: #dbcb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b648",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 51.969,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76994,
    "c": 0.13043,
    "h": 100.5
  },
  "luminance": 0.46066
}

Semantic roles & 50–950 ramp

primary
#C7B648
secondary
#9AA1D1
accent
#5FDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B648

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

Preview Lab → · Contrast checker → · Palette generator →

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