#C6B652#C6B652

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

Color values

HEX#C6B652
RGBrgb(198, 182, 82)
HSLhsl(52, 50%, 55%)
HSVhsv(52, 59%, 78%)
CMYKcmyk(0%, 8.1%, 58.6%, 22.4%)
CIE-LABlab(73.59, -6.73, 51.90)
CIE-LCHlch(73.59, 52.34, 97.39°)
OKLaboklab(77.01% -0.0218 0.1201)
OKLCHoklch(77.01% 0.122 100.3)
XYZxyz(41.5412, 46.0725, 14.6857)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B652 #5262C6
analogous
#C67C52 #C6B652 #9CC652
triadic
#C6B652 #52C6B6 #B652C6
tetradic
#C6B652 #52C67C #5262C6 #C6529C
square
#C6B652 #52C67C #5262C6 #C6529C
split-complementary
#C6B652 #529CC6 #7C52C6
monochromatic
#776C27 #A59536 #C6B652 #D5C980 #E4DDAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6B652#FFFFFF#000000##000000
##C6B6521.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)
#C5B148
Deuteranopia (green-blind)
#CAB857
Tritanopia (blue-blind)
#D4AAA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c6b652;
/* rgb */ color: rgb(198, 182, 82);
/* oklch */ color: oklch(77.0% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#dacb86',
    500: '#c6b652',
    950: '#000000',
  },
}
SCSS
$custom: #c6b652;
$custom-light: #dacb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b652",
  "rgb": {
    "r": 198,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 51.724,
    "s": 50.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77005,
    "c": 0.12204,
    "h": 100.3
  },
  "luminance": 0.46071
}

Semantic roles & 50–950 ramp

primary
#C6B652
secondary
#A2A8D2
accent
#61DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C6B652

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

Preview Lab → · Contrast checker → · Palette generator →

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