#C6B72B#C6B72B

#C6B72B is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.150 H 102.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C6B72B
RGBrgb(198, 183, 43)
HSLhsl(54, 64%, 47%)
HSVhsv(54, 78%, 78%)
CMYKcmyk(0%, 7.6%, 78.3%, 22.4%)
CIE-LABlab(73.58, -9.36, 67.22)
CIE-LCHlch(73.58, 67.87, 97.93°)
OKLaboklab(76.9% -0.0334 0.1461)
OKLCHoklch(76.9% 0.15 102.9)
XYZxyz(40.6601, 46.0490, 9.0316)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B72B #2B3AC6
analogous
#C66A2B #C6B72B #87C62B
triadic
#C6B72B #2BC6B7 #B72BC6
tetradic
#C6B72B #2BC66A #2B3AC6 #C62B87
square
#C6B72B #2BC66A #2B3AC6 #C62B87
split-complementary
#C6B72B #2B87C6 #6A2BC6
monochromatic
#615A15 #948920 #C6B72B #DACD54 #E5DC87

Accessibility & contrast

On white

2.06
#C6B72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#C6B72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B72B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B72B#FFFFFF#000000##000000
##C6B72B1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B101
Deuteranopia (green-blind)
#CDB836
Tritanopia (blue-blind)
#D5AA9D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c6b72b;
/* rgb */ color: rgb(198, 183, 43);
/* oklch */ color: oklch(76.9% 0.150 102.9);
Tailwind
colors: {
  custom: {
    50: '#dbcc71',
    500: '#c6b72b',
    950: '#000000',
  },
}
SCSS
$custom: #c6b72b;
$custom-light: #dbcc71;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b72b",
  "rgb": {
    "r": 198,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 54.194,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76903,
    "c": 0.14989,
    "h": 102.9
  },
  "luminance": 0.46047
}

Semantic roles & 50–950 ramp

primary
#C6B72B
secondary
#7F86CE
accent
#51E740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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