#C7B646#C7B646

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

Color values

HEX#C7B646
RGBrgb(199, 182, 70)
HSLhsl(52, 54%, 53%)
HSVhsv(52, 65%, 78%)
CMYKcmyk(0%, 8.5%, 64.8%, 22%)
CIE-LABlab(73.57, -7.11, 57.23)
CIE-LCHlch(73.57, 57.67, 97.08°)
OKLaboklab(76.98% -0.0244 0.1297)
OKLCHoklch(76.98% 0.132 100.6)
XYZxyz(41.3883, 46.0420, 12.5001)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B646 #4657C7
analogous
#C77546 #C7B646 #97C746
triadic
#C7B646 #46C7B6 #B646C7
tetradic
#C7B646 #46C775 #4657C7 #C74697
square
#C7B646 #46C775 #4657C7 #C74697
split-complementary
#C7B646 #4697C7 #7546C7
monochromatic
#716622 #A09130 #C7B646 #D5C975 #E3DBA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7B646#FFFFFF#000000##000000
##C7B6461.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)
#C6B138
Deuteranopia (green-blind)
#CBB84C
Tritanopia (blue-blind)
#D6AA9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b646;
/* rgb */ color: rgb(199, 182, 70);
/* oklch */ color: oklch(77.0% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#dbcb7f',
    500: '#c7b646',
    950: '#000000',
  },
}
SCSS
$custom: #c7b646;
$custom-light: #dbcb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b646",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 52.093,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76975,
    "c": 0.13198,
    "h": 100.6
  },
  "luminance": 0.4604
}

Semantic roles & 50–950 ramp

primary
#C7B646
secondary
#98A0D0
accent
#5EDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C7B646

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

Preview Lab → · Contrast checker → · Palette generator →

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