#C6B239#C6B239

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

Color values

HEX#C6B239
RGBrgb(198, 178, 57)
HSLhsl(51, 55%, 50%)
HSVhsv(51, 71%, 78%)
CMYKcmyk(0%, 10.1%, 71.2%, 22.4%)
CIE-LABlab(72.32, -6.17, 61.20)
CIE-LCHlch(72.32, 61.51, 95.76°)
OKLaboklab(75.93% -0.0231 0.1359)
OKLCHoklch(75.93% 0.138 99.6)
XYZxyz(39.9495, 44.1439, 10.2864)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B239 #394DC6
analogous
#C66B39 #C6B239 #94C639
triadic
#C6B239 #39C6B2 #B239C6
tetradic
#C6B239 #39C66B #394DC6 #C63994
square
#C6B239 #39C66B #394DC6 #C63994
split-complementary
#C6B239 #3994C6 #6B39C6
monochromatic
#675D1E #96872B #C6B239 #D4C469 #E1D798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6B239#FFFFFF#000000##000000
##C6B2391.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)
#C3AD26
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#D5A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b239;
/* rgb */ color: rgb(198, 178, 57);
/* oklch */ color: oklch(75.9% 0.138 99.6);
Tailwind
colors: {
  custom: {
    50: '#dbc877',
    500: '#c6b239',
    950: '#000000',
  },
}
SCSS
$custom: #c6b239;
$custom-light: #dbc877;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b239",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 51.489,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.75933,
    "c": 0.13789,
    "h": 99.6
  },
  "luminance": 0.44142
}

Semantic roles & 50–950 ramp

primary
#C6B239
secondary
#8E97CD
accent
#5EDF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C6B239

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

Preview Lab → · Contrast checker → · Palette generator →

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