#C6B237#C6B237

#C6B237 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.9% C 0.139 H 99.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#C6B237
RGBrgb(198, 178, 55)
HSLhsl(52, 57%, 50%)
HSVhsv(52, 72%, 78%)
CMYKcmyk(0%, 10.1%, 72.2%, 22.4%)
CIE-LABlab(72.31, -6.27, 61.94)
CIE-LCHlch(72.31, 62.26, 95.78°)
OKLaboklab(75.92% -0.0236 0.1371)
OKLCHoklch(75.92% 0.139 99.8)
XYZxyz(39.9006, 44.1243, 10.0288)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B237 #374BC6
analogous
#C66A37 #C6B237 #93C637
triadic
#C6B237 #37C6B2 #B237C6
tetradic
#C6B237 #37C66A #374BC6 #C63793
square
#C6B237 #37C66A #374BC6 #C63793
split-complementary
#C6B237 #3793C6 #6A37C6
monochromatic
#665C1C #96872A #C6B237 #D4C566 #E2D796

Accessibility & contrast

On white

2.14
#C6B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#C6B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B237
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B237#FFFFFF#000000##000000
##C6B2371.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#D5A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b237;
/* rgb */ color: rgb(198, 178, 55);
/* oklch */ color: oklch(75.9% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#dbc876',
    500: '#c6b237',
    950: '#000000',
  },
}
SCSS
$custom: #c6b237;
$custom-light: #dbc876;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b237",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 51.608,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75919,
    "c": 0.13915,
    "h": 99.8
  },
  "luminance": 0.44122
}

Semantic roles & 50–950 ramp

primary
#C6B237
secondary
#8C95CD
accent
#5DE048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C6B237

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

Preview Lab → · Contrast checker → · Palette generator →

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