#C6B238#C6B238

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

Color values

HEX#C6B238
RGBrgb(198, 178, 56)
HSLhsl(52, 56%, 50%)
HSVhsv(52, 72%, 78%)
CMYKcmyk(0%, 10.1%, 71.7%, 22.4%)
CIE-LABlab(72.32, -6.22, 61.57)
CIE-LCHlch(72.32, 61.88, 95.77°)
OKLaboklab(75.93% -0.0233 0.1366)
OKLCHoklch(75.93% 0.139 99.7)
XYZxyz(39.9248, 44.1340, 10.1563)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B238 #384CC6
analogous
#C66B38 #C6B238 #93C638
triadic
#C6B238 #38C6B2 #B238C6
tetradic
#C6B238 #38C66B #384CC6 #C63893
square
#C6B238 #38C66B #384CC6 #C63893
split-complementary
#C6B238 #3893C6 #6B38C6
monochromatic
#675C1D #96872B #C6B238 #D4C567 #E2D797

Accessibility & contrast

On white

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

On black

9.83
#C6B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B238
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B238#FFFFFF#000000##000000
##C6B2381.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6b238;
/* rgb */ color: rgb(198, 178, 56);
/* oklch */ color: oklch(75.9% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#dbc876',
    500: '#c6b238',
    950: '#000000',
  },
}
SCSS
$custom: #c6b238;
$custom-light: #dbc876;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b238",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 51.549,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75926,
    "c": 0.13853,
    "h": 99.7
  },
  "luminance": 0.44132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6B238

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

Preview Lab → · Contrast checker → · Palette generator →

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