#C6B545#C6B545

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

Color values

HEX#C6B545
RGBrgb(198, 181, 69)
HSLhsl(52, 53%, 52%)
HSVhsv(52, 65%, 78%)
CMYKcmyk(0%, 8.6%, 65.2%, 22.4%)
CIE-LABlab(73.21, -7.08, 57.25)
CIE-LCHlch(73.21, 57.68, 97.05°)
OKLaboklab(76.66% -0.0243 0.1296)
OKLCHoklch(76.66% 0.132 100.6)
XYZxyz(40.8885, 45.4849, 12.2548)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B545 #4556C6
analogous
#C67545 #C6B545 #97C645
triadic
#C6B545 #45C6B5 #B545C6
tetradic
#C6B545 #45C675 #4556C6 #C64597
square
#C6B545 #45C675 #4556C6 #C64597
split-complementary
#C6B545 #4597C6 #7545C6
monochromatic
#6F6522 #9E8F30 #C6B545 #D4C874 #E3DAA3

Accessibility & contrast

On white

2.08
#C6B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#C6B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B545
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B545#FFFFFF#000000##000000
##C6B5451.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#D5A99E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c6b545;
/* rgb */ color: rgb(198, 181, 69);
/* oklch */ color: oklch(76.7% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#daca7e',
    500: '#c6b545',
    950: '#000000',
  },
}
SCSS
$custom: #c6b545;
$custom-light: #daca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b545",
  "rgb": {
    "r": 198,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 52.093,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76664,
    "c": 0.13188,
    "h": 100.6
  },
  "luminance": 0.45483
}

Semantic roles & 50–950 ramp

primary
#C6B545
secondary
#979FCF
accent
#5EDC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B545

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

Preview Lab → · Contrast checker → · Palette generator →

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