#C8AE3B#C8AE3B

#C8AE3B is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.134 H 96.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#C8AE3B
RGBrgb(200, 174, 59)
HSLhsl(49, 56%, 51%)
HSVhsv(49, 71%, 78%)
CMYKcmyk(0%, 13%, 70.5%, 21.6%)
CIE-LABlab(71.47, -3.11, 59.62)
CIE-LCHlch(71.47, 59.70, 92.98°)
OKLaboklab(75.3% -0.0143 0.1329)
OKLCHoklch(75.3% 0.134 96.1)
XYZxyz(39.7469, 42.8693, 10.3179)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AE3B #3B55C8
analogous
#C8673B #C8AE3B #9BC83B
triadic
#C8AE3B #3BC8AE #AE3BC8
tetradic
#C8AE3B #3BC867 #3B55C8 #C83B9B
square
#C8AE3B #3BC867 #3B55C8 #C83B9B
split-complementary
#C8AE3B #3B9BC8 #673BC8
monochromatic
#6B5D1E #9A862B #C8AE3B #D5C26B #E3D59B

Accessibility & contrast

On white

2.19
#C8AE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#C8AE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AE3B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AE3B#FFFFFF#000000##000000
##C8AE3B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA2A
Deuteranopia (green-blind)
#C6B342
Tritanopia (blue-blind)
#D8A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8ae3b;
/* rgb */ color: rgb(200, 174, 59);
/* oklch */ color: oklch(75.3% 0.134 96.1);
Tailwind
colors: {
  custom: {
    50: '#dcc578',
    500: '#c8ae3b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ae3b;
$custom-light: #dcc578;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ae3b",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 48.936,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75301,
    "c": 0.13366,
    "h": 96.1
  },
  "luminance": 0.42867
}

Semantic roles & 50–950 ramp

primary
#C8AE3B
secondary
#909CCF
accent
#64DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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