#C8B431#C8B431

#C8B431 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.5% C 0.144 H 100.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C8B431
RGBrgb(200, 180, 49)
HSLhsl(52, 61%, 49%)
HSVhsv(52, 76%, 78%)
CMYKcmyk(0%, 10%, 75.5%, 21.6%)
CIE-LABlab(72.99, -6.71, 64.80)
CIE-LCHlch(72.99, 65.14, 95.91°)
OKLaboklab(76.49% -0.0255 0.142)
OKLCHoklch(76.49% 0.144 100.2)
XYZxyz(40.6970, 45.1456, 9.4755)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B431 #3145C8
analogous
#C86931 #C8B431 #91C831
triadic
#C8B431 #31C8B4 #B431C8
tetradic
#C8B431 #31C869 #3145C8 #C83191
square
#C8B431 #31C869 #3145C8 #C83191
split-complementary
#C8B431 #3191C8 #6931C8
monochromatic
#665C19 #978825 #C8B431 #D8C85F #E4D990

Accessibility & contrast

On white

2.09
#C8B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C8B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B431
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B431#FFFFFF#000000##000000
##C8B4311.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF16
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#D8A79B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b431;
/* rgb */ color: rgb(200, 180, 49);
/* oklch */ color: oklch(76.5% 0.144 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddca73',
    500: '#c8b431',
    950: '#000000',
  },
}
SCSS
$custom: #c8b431;
$custom-light: #ddca73;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b431",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 52.053,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76486,
    "c": 0.14428,
    "h": 100.2
  },
  "luminance": 0.45144
}

Semantic roles & 50–950 ramp

primary
#C8B431
secondary
#8690CE
accent
#59E444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B431

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

Preview Lab → · Contrast checker → · Palette generator →

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