#C6B525#C6B525

#C6B525 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.4% C 0.151 H 102.1°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C6B525
RGBrgb(198, 181, 37)
HSLhsl(54, 69%, 46%)
HSVhsv(54, 81%, 78%)
CMYKcmyk(0%, 8.6%, 81.3%, 22.4%)
CIE-LABlab(73.02, -8.53, 68.48)
CIE-LCHlch(73.02, 69.01, 97.10°)
OKLaboklab(76.45% -0.0316 0.1477)
OKLCHoklch(76.45% 0.151 102.1)
XYZxyz(40.1485, 45.1889, 8.3575)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B525 #2536C6
analogous
#C66525 #C6B525 #86C625
triadic
#C6B525 #25C6B5 #B525C6
tetradic
#C6B525 #25C665 #2536C6 #C62586
square
#C6B525 #25C665 #2536C6 #C62586
split-complementary
#C6B525 #2586C6 #6525C6
monochromatic
#5F5712 #92861B #C6B525 #DDCE4B #E7DC7E

Accessibility & contrast

On white

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

On black

10.04
#C6B525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B525
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B525#FFFFFF#000000##000000
##C6B5251.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#CCB631
Tritanopia (blue-blind)
#D6A79B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c6b525;
/* rgb */ color: rgb(198, 181, 37);
/* oklch */ color: oklch(76.4% 0.151 102.1);
Tailwind
colors: {
  custom: {
    50: '#dcca6e',
    500: '#c6b525',
    950: '#000000',
  },
}
SCSS
$custom: #c6b525;
$custom-light: #dcca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b525",
  "rgb": {
    "r": 198,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 53.665,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76448,
    "c": 0.15101,
    "h": 102.1
  },
  "luminance": 0.45187
}

Semantic roles & 50–950 ramp

primary
#C6B525
secondary
#7781CF
accent
#4FEB3C
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B525

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

Preview Lab → · Contrast checker → · Palette generator →

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