#C6B138#C6B138

#C6B138 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.138 H 99.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C6B138
RGBrgb(198, 177, 56)
HSLhsl(51, 56%, 50%)
HSVhsv(51, 72%, 78%)
CMYKcmyk(0%, 10.6%, 71.7%, 22.4%)
CIE-LABlab(72.05, -5.70, 61.31)
CIE-LCHlch(72.05, 61.57, 95.31°)
OKLaboklab(75.72% -0.0218 0.136)
OKLCHoklch(75.72% 0.138 99.1)
XYZxyz(39.7265, 43.7375, 10.0903)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B138 #384DC6
analogous
#C66A38 #C6B138 #94C638
triadic
#C6B138 #38C6B1 #B138C6
tetradic
#C6B138 #38C66A #384DC6 #C63894
square
#C6B138 #38C66A #384DC6 #C63894
split-complementary
#C6B138 #3894C6 #6A38C6
monochromatic
#675C1D #96862B #C6B138 #D4C467 #E2D697

Accessibility & contrast

On white

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

On black

9.75
#C6B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B138
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B138#FFFFFF#000000##000000
##C6B1381.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#D5A499
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b138;
/* rgb */ color: rgb(198, 177, 56);
/* oklch */ color: oklch(75.7% 0.138 99.1);
Tailwind
colors: {
  custom: {
    50: '#dbc776',
    500: '#c6b138',
    950: '#000000',
  },
}
SCSS
$custom: #c6b138;
$custom-light: #dbc776;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b138",
  "rgb": {
    "r": 198,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 51.127,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75715,
    "c": 0.13773,
    "h": 99.1
  },
  "luminance": 0.43736
}

Semantic roles & 50–950 ramp

primary
#C6B138
secondary
#8D96CD
accent
#5FDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C6B138

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

Preview Lab → · Contrast checker → · Palette generator →

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