#C6B338#C6B338

#C6B338 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.139 H 100.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C6B338
RGBrgb(198, 179, 56)
HSLhsl(52, 56%, 50%)
HSVhsv(52, 72%, 78%)
CMYKcmyk(0%, 9.6%, 71.7%, 22.4%)
CIE-LABlab(72.58, -6.74, 61.83)
CIE-LCHlch(72.58, 62.20, 96.22°)
OKLaboklab(76.14% -0.0248 0.1371)
OKLCHoklch(76.14% 0.139 100.3)
XYZxyz(40.1245, 44.5334, 10.2229)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B338 #384BC6
analogous
#C66C38 #C6B338 #92C638
triadic
#C6B338 #38C6B3 #B338C6
tetradic
#C6B338 #38C66C #384BC6 #C63892
square
#C6B338 #38C66C #384BC6 #C63892
split-complementary
#C6B338 #3892C6 #6C38C6
monochromatic
#675D1D #96882B #C6B338 #D4C567 #E2D897

Accessibility & contrast

On white

2.12
#C6B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C6B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B338
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B338#FFFFFF#000000##000000
##C6B3381.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#D5A69B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c6b338;
/* rgb */ color: rgb(198, 179, 56);
/* oklch */ color: oklch(76.1% 0.139 100.3);
Tailwind
colors: {
  custom: {
    50: '#dbc977',
    500: '#c6b338',
    950: '#000000',
  },
}
SCSS
$custom: #c6b338;
$custom-light: #dbc977;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b338",
  "rgb": {
    "r": 198,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 51.972,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76136,
    "c": 0.13933,
    "h": 100.3
  },
  "luminance": 0.44531
}

Semantic roles & 50–950 ramp

primary
#C6B338
secondary
#8D95CD
accent
#5DDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C6B338

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

Preview Lab → · Contrast checker → · Palette generator →

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