#C6B225#C6B225

#C6B225 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.8% C 0.149 H 100.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C6B225
RGBrgb(198, 178, 37)
HSLhsl(53, 69%, 46%)
HSVhsv(53, 81%, 78%)
CMYKcmyk(0%, 10.1%, 81.3%, 22.4%)
CIE-LABlab(72.22, -6.98, 67.79)
CIE-LCHlch(72.22, 68.15, 95.88°)
OKLaboklab(75.81% -0.0272 0.1462)
OKLCHoklch(75.81% 0.149 100.6)
XYZxyz(39.5450, 43.9821, 8.1563)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B225 #2539C6
analogous
#C66225 #C6B225 #89C625
triadic
#C6B225 #25C6B2 #B225C6
tetradic
#C6B225 #25C662 #2539C6 #C62589
square
#C6B225 #25C662 #2539C6 #C62589
split-complementary
#C6B225 #2589C6 #6225C6
monochromatic
#5F5512 #92841B #C6B225 #DDCB4B #E7DA7E

Accessibility & contrast

On white

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

On black

9.80
#C6B225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B225
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B225#FFFFFF#000000##000000
##C6B2251.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C9B431
Tritanopia (blue-blind)
#D6A498
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c6b225;
/* rgb */ color: rgb(198, 178, 37);
/* oklch */ color: oklch(75.8% 0.149 100.6);
Tailwind
colors: {
  custom: {
    50: '#dcc86d',
    500: '#c6b225',
    950: '#000000',
  },
}
SCSS
$custom: #c6b225;
$custom-light: #dcc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b225",
  "rgb": {
    "r": 198,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 52.547,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75813,
    "c": 0.14868,
    "h": 100.6
  },
  "luminance": 0.4398
}

Semantic roles & 50–950 ramp

primary
#C6B225
secondary
#7782CF
accent
#52EB3C
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B225

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

Preview Lab → · Contrast checker → · Palette generator →

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