#C6B240#C6B240

#C6B240 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.133 H 99.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C6B240
RGBrgb(198, 178, 64)
HSLhsl(51, 54%, 51%)
HSVhsv(51, 68%, 78%)
CMYKcmyk(0%, 10.1%, 67.7%, 22.4%)
CIE-LABlab(72.37, -5.80, 58.46)
CIE-LCHlch(72.37, 58.75, 95.67°)
OKLaboklab(75.99% -0.0213 0.1314)
OKLCHoklch(75.99% 0.133 99.2)
XYZxyz(40.1363, 44.2186, 11.2704)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B240 #4054C6
analogous
#C66F40 #C6B240 #97C640
triadic
#C6B240 #40C6B2 #B240C6
tetradic
#C6B240 #40C66F #4054C6 #C64097
square
#C6B240 #40C66F #4054C6 #C64097
split-complementary
#C6B240 #4097C6 #6F40C6
monochromatic
#6C6020 #9B8A2E #C6B240 #D4C56F #E2D89E

Accessibility & contrast

On white

2.13
#C6B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C6B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B240
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B240#FFFFFF#000000##000000
##C6B2401.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD31
Deuteranopia (green-blind)
#C8B546
Tritanopia (blue-blind)
#D5A59B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b240;
/* rgb */ color: rgb(198, 178, 64);
/* oklch */ color: oklch(76.0% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#dbc87b',
    500: '#c6b240',
    950: '#000000',
  },
}
SCSS
$custom: #c6b240;
$custom-light: #dbc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b240",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 51.045,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.1331,
    "h": 99.2
  },
  "luminance": 0.44217
}

Semantic roles & 50–950 ramp

primary
#C6B240
secondary
#939CCE
accent
#60DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6B240

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

Preview Lab → · Contrast checker → · Palette generator →

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