#C6AE2B#C6AE2B

#C6AE2B is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.143 H 98.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#C6AE2B
RGBrgb(198, 174, 43)
HSLhsl(51, 64%, 47%)
HSVhsv(51, 78%, 78%)
CMYKcmyk(0%, 12.1%, 78.3%, 22.4%)
CIE-LABlab(71.18, -4.68, 65.07)
CIE-LCHlch(71.18, 65.23, 94.11°)
OKLaboklab(75% -0.0202 0.1415)
OKLCHoklch(75% 0.143 98.1)
XYZxyz(38.8628, 42.4543, 8.4325)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AE2B #2B43C6
analogous
#C6612B #C6AE2B #90C62B
triadic
#C6AE2B #2BC6AE #AE2BC6
tetradic
#C6AE2B #2BC661 #2B43C6 #C62B90
square
#C6AE2B #2BC661 #2B43C6 #C62B90
split-complementary
#C6AE2B #2B90C6 #612BC6
monochromatic
#615615 #948220 #C6AE2B #DAC554 #E5D687

Accessibility & contrast

On white

2.21
#C6AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#C6AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AE2B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AE2B#FFFFFF#000000##000000
##C6AE2B1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA09
Deuteranopia (green-blind)
#C6B234
Tritanopia (blue-blind)
#D6A095
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c6ae2b;
/* rgb */ color: rgb(198, 174, 43);
/* oklch */ color: oklch(75.0% 0.143 98.1);
Tailwind
colors: {
  custom: {
    50: '#dcc570',
    500: '#c6ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #c6ae2b;
$custom-light: #dcc570;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ae2b",
  "rgb": {
    "r": 198,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 50.71,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75002,
    "c": 0.14292,
    "h": 98.1
  },
  "luminance": 0.42452
}

Semantic roles & 50–950 ramp

primary
#C6AE2B
secondary
#7F8BCE
accent
#5AE740
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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