#C8B031#C8B031

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

Color values

HEX#C8B031
RGBrgb(200, 176, 49)
HSLhsl(50, 61%, 49%)
HSVhsv(50, 76%, 78%)
CMYKcmyk(0%, 12%, 75.5%, 21.6%)
CIE-LABlab(71.93, -4.62, 63.81)
CIE-LCHlch(71.93, 63.97, 94.14°)
OKLaboklab(75.65% -0.0196 0.1399)
OKLCHoklch(75.65% 0.141 98)
XYZxyz(39.9012, 43.5538, 9.2102)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B031 #3149C8
analogous
#C86531 #C8B031 #95C831
triadic
#C8B031 #31C8B0 #B031C8
tetradic
#C8B031 #31C865 #3149C8 #C83195
square
#C8B031 #31C865 #3149C8 #C83195
split-complementary
#C8B031 #3195C8 #6531C8
monochromatic
#665919 #978525 #C8B031 #D8C45F #E4D690

Accessibility & contrast

On white

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

On black

9.71
#C8B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B031
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B031#FFFFFF#000000##000000
##C8B0311.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC18
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#D8A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8b031;
/* rgb */ color: rgb(200, 176, 49);
/* oklch */ color: oklch(75.6% 0.141 98.0);
Tailwind
colors: {
  custom: {
    50: '#ddc773',
    500: '#c8b031',
    950: '#000000',
  },
}
SCSS
$custom: #c8b031;
$custom-light: #ddc773;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b031",
  "rgb": {
    "r": 200,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 50.464,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75647,
    "c": 0.14126,
    "h": 98
  },
  "luminance": 0.43552
}

Semantic roles & 50–950 ramp

primary
#C8B031
secondary
#8692CE
accent
#5DE444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B031

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

Preview Lab → · Contrast checker → · Palette generator →

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