#C6B145#C6B145

#C6B145 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.129 H 98.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C6B145
RGBrgb(198, 177, 69)
HSLhsl(50, 53%, 52%)
HSVhsv(50, 65%, 78%)
CMYKcmyk(0%, 10.6%, 65.2%, 22.4%)
CIE-LABlab(72.15, -4.99, 56.13)
CIE-LCHlch(72.15, 56.35, 95.08°)
OKLaboklab(75.82% -0.0184 0.1272)
OKLCHoklch(75.82% 0.129 98.2)
XYZxyz(40.0868, 43.8816, 11.9875)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B145 #455AC6
analogous
#C67145 #C6B145 #9AC645
triadic
#C6B145 #45C6B1 #B145C6
tetradic
#C6B145 #45C671 #455AC6 #C6459A
square
#C6B145 #45C671 #455AC6 #C6459A
split-complementary
#C6B145 #459AC6 #7145C6
monochromatic
#6F6222 #9E8C30 #C6B145 #D4C574 #E3D8A3

Accessibility & contrast

On white

2.15
#C6B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C6B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B145
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B145#FFFFFF#000000##000000
##C6B1451.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#D5A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b145;
/* rgb */ color: rgb(198, 177, 69);
/* oklch */ color: oklch(75.8% 0.129 98.2);
Tailwind
colors: {
  custom: {
    50: '#dbc87e',
    500: '#c6b145',
    950: '#000000',
  },
}
SCSS
$custom: #c6b145;
$custom-light: #dbc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b145",
  "rgb": {
    "r": 198,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 50.233,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75823,
    "c": 0.12856,
    "h": 98.2
  },
  "luminance": 0.4388
}

Semantic roles & 50–950 ramp

primary
#C6B145
secondary
#97A0CF
accent
#63DC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B145

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

Preview Lab → · Contrast checker → · Palette generator →

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