#C6AB34#C6AB34

#C6AB34 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.136 H 95.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#C6AB34
RGBrgb(198, 171, 52)
HSLhsl(49, 58%, 49%)
HSVhsv(49, 74%, 78%)
CMYKcmyk(0%, 13.6%, 73.7%, 22.4%)
CIE-LABlab(70.44, -2.73, 61.25)
CIE-LCHlch(70.44, 61.31, 92.55°)
OKLaboklab(74.43% -0.0138 0.1351)
OKLCHoklch(74.43% 0.136 95.8)
XYZxyz(38.4734, 41.3816, 9.2091)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB34 #344FC6
analogous
#C66234 #C6AB34 #98C634
triadic
#C6AB34 #34C6AB #AB34C6
tetradic
#C6AB34 #34C662 #344FC6 #C63498
square
#C6AB34 #34C662 #344FC6 #C63498
split-complementary
#C6AB34 #3498C6 #6234C6
monochromatic
#65571B #968127 #C6AB34 #D6C062 #E2D492

Accessibility & contrast

On white

2.26
#C6AB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#C6AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AB34
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AB34#FFFFFF#000000##000000
##C6AB341.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA720
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#D69E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c6ab34;
/* rgb */ color: rgb(198, 171, 52);
/* oklch */ color: oklch(74.4% 0.136 95.8);
Tailwind
colors: {
  custom: {
    50: '#dbc374',
    500: '#c6ab34',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab34;
$custom-light: #dbc374;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab34",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 48.904,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74432,
    "c": 0.13582,
    "h": 95.8
  },
  "luminance": 0.4138
}

Semantic roles & 50–950 ramp

primary
#C6AB34
secondary
#8995CD
accent
#63E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C6AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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