#C6B040#C6B040

#C6B040 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.132 H 98.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#C6B040
RGBrgb(198, 176, 64)
HSLhsl(50, 54%, 51%)
HSVhsv(50, 68%, 78%)
CMYKcmyk(0%, 11.1%, 67.7%, 22.4%)
CIE-LABlab(71.84, -4.76, 57.92)
CIE-LCHlch(71.84, 58.11, 94.69°)
OKLaboklab(75.57% -0.0183 0.1302)
OKLCHoklch(75.57% 0.132 98)
XYZxyz(39.7413, 43.4285, 11.1387)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B040 #4056C6
analogous
#C66D40 #C6B040 #99C640
triadic
#C6B040 #40C6B0 #B040C6
tetradic
#C6B040 #40C66D #4056C6 #C64099
square
#C6B040 #40C66D #4056C6 #C64099
split-complementary
#C6B040 #4099C6 #6D40C6
monochromatic
#6C5F20 #9B892E #C6B040 #D4C36F #E2D79E

Accessibility & contrast

On white

2.17
#C6B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#C6B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B040
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B040#FFFFFF#000000##000000
##C6B0401.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#D5A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c6b040;
/* rgb */ color: rgb(198, 176, 64);
/* oklch */ color: oklch(75.6% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#dbc77b',
    500: '#c6b040',
    950: '#000000',
  },
}
SCSS
$custom: #c6b040;
$custom-light: #dbc77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b040",
  "rgb": {
    "r": 198,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 50.149,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75569,
    "c": 0.13151,
    "h": 98
  },
  "luminance": 0.43427
}

Semantic roles & 50–950 ramp

primary
#C6B040
secondary
#939DCE
accent
#63DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B040

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

Preview Lab → · Contrast checker → · Palette generator →

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