#C6B52B#C6B52B

#C6B52B is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.148 H 101.9°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#C6B52B
RGBrgb(198, 181, 43)
HSLhsl(53, 64%, 47%)
HSVhsv(53, 78%, 78%)
CMYKcmyk(0%, 8.6%, 78.3%, 22.4%)
CIE-LABlab(73.04, -8.33, 66.74)
CIE-LCHlch(73.04, 67.26, 97.11°)
OKLaboklab(76.48% -0.0305 0.1451)
OKLCHoklch(76.48% 0.148 101.9)
XYZxyz(40.2506, 45.2298, 8.8951)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B52B #2B3CC6
analogous
#C6672B #C6B52B #8AC62B
triadic
#C6B52B #2BC6B5 #B52BC6
tetradic
#C6B52B #2BC667 #2B3CC6 #C62B8A
square
#C6B52B #2BC667 #2B3CC6 #C62B8A
split-complementary
#C6B52B #2B8AC6 #672BC6
monochromatic
#615915 #948720 #C6B52B #DACB54 #E5DB87

Accessibility & contrast

On white

2.09
#C6B52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#C6B52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B52B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B52B#FFFFFF#000000##000000
##C6B52B1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF03
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#D6A89B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c6b52b;
/* rgb */ color: rgb(198, 181, 43);
/* oklch */ color: oklch(76.5% 0.148 101.9);
Tailwind
colors: {
  custom: {
    50: '#dbca70',
    500: '#c6b52b',
    950: '#000000',
  },
}
SCSS
$custom: #c6b52b;
$custom-light: #dbca70;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b52b",
  "rgb": {
    "r": 198,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 53.419,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76478,
    "c": 0.14826,
    "h": 101.9
  },
  "luminance": 0.45228
}

Semantic roles & 50–950 ramp

primary
#C6B52B
secondary
#7F87CE
accent
#53E740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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