#C6B125#C6B125

#C6B125 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.148 H 100.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C6B125
RGBrgb(198, 177, 37)
HSLhsl(52, 69%, 46%)
HSVhsv(52, 81%, 78%)
CMYKcmyk(0%, 10.6%, 81.3%, 22.4%)
CIE-LABlab(71.95, -6.45, 67.56)
CIE-LCHlch(71.95, 67.87, 95.46°)
OKLaboklab(75.6% -0.0258 0.1457)
OKLCHoklch(75.6% 0.148 100)
XYZxyz(39.3468, 43.5856, 8.0903)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B125 #253AC6
analogous
#C66025 #C6B125 #8AC625
triadic
#C6B125 #25C6B1 #B125C6
tetradic
#C6B125 #25C660 #253AC6 #C6258A
square
#C6B125 #25C660 #253AC6 #C6258A
split-complementary
#C6B125 #258AC6 #6025C6
monochromatic
#5F5512 #92831B #C6B125 #DDCA4B #E7D97E

Accessibility & contrast

On white

2.16
#C6B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C6B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B125
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B125#FFFFFF#000000##000000
##C6B1251.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C9B430
Tritanopia (blue-blind)
#D6A398
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c6b125;
/* rgb */ color: rgb(198, 177, 37);
/* oklch */ color: oklch(75.6% 0.148 100.0);
Tailwind
colors: {
  custom: {
    50: '#dcc76d',
    500: '#c6b125',
    950: '#000000',
  },
}
SCSS
$custom: #c6b125;
$custom-light: #dcc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b125",
  "rgb": {
    "r": 198,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 52.174,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75602,
    "c": 0.14793,
    "h": 100
  },
  "luminance": 0.43584
}

Semantic roles & 50–950 ramp

primary
#C6B125
secondary
#7783CF
accent
#53EB3C
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6B125

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

Preview Lab → · Contrast checker → · Palette generator →

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