#C8B631#C8B631

#C8B631 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.146 H 101.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#C8B631
RGBrgb(200, 182, 49)
HSLhsl(53, 61%, 49%)
HSVhsv(53, 76%, 78%)
CMYKcmyk(0%, 9%, 75.5%, 21.6%)
CIE-LABlab(73.52, -7.75, 65.29)
CIE-LCHlch(73.52, 65.75, 96.77°)
OKLaboklab(76.91% -0.0285 0.1431)
OKLCHoklch(76.91% 0.146 101.3)
XYZxyz(41.1037, 45.9589, 9.6110)
Luminance0.4596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B631 #3143C8
analogous
#C86B31 #C8B631 #8FC831
triadic
#C8B631 #31C8B6 #B631C8
tetradic
#C8B631 #31C86B #3143C8 #C8318F
square
#C8B631 #31C86B #3143C8 #C8318F
split-complementary
#C8B631 #318FC8 #6B31C8
monochromatic
#665D19 #978925 #C8B631 #D8C95F #E4DA90

Accessibility & contrast

On white

2.06
#C8B631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#C8B631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B631
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B631#FFFFFF#000000##000000
##C8B6311.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B115
Deuteranopia (green-blind)
#CDB83A
Tritanopia (blue-blind)
#D8A99D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b631;
/* rgb */ color: rgb(200, 182, 49);
/* oklch */ color: oklch(76.9% 0.146 101.3);
Tailwind
colors: {
  custom: {
    50: '#ddcb73',
    500: '#c8b631',
    950: '#000000',
  },
}
SCSS
$custom: #c8b631;
$custom-light: #ddcb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b631",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 52.848,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76908,
    "c": 0.14585,
    "h": 101.3
  },
  "luminance": 0.45957
}

Semantic roles & 50–950 ramp

primary
#C8B631
secondary
#868FCE
accent
#57E444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B631

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

Preview Lab → · Contrast checker → · Palette generator →

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