#C8B231#C8B231

#C8B231 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.143 H 99.1°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C8B231
RGBrgb(200, 178, 49)
HSLhsl(51, 61%, 49%)
HSVhsv(51, 76%, 78%)
CMYKcmyk(0%, 11%, 75.5%, 21.6%)
CIE-LABlab(72.46, -5.67, 64.30)
CIE-LCHlch(72.46, 64.55, 95.04°)
OKLaboklab(76.07% -0.0226 0.141)
OKLCHoklch(76.07% 0.143 99.1)
XYZxyz(40.2962, 44.3439, 9.3418)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B231 #3147C8
analogous
#C86731 #C8B231 #93C831
triadic
#C8B231 #31C8B2 #B231C8
tetradic
#C8B231 #31C867 #3147C8 #C83193
square
#C8B231 #31C867 #3147C8 #C83193
split-complementary
#C8B231 #3193C8 #6731C8
monochromatic
#665B19 #978625 #C8B231 #D8C65F #E4D790

Accessibility & contrast

On white

2.13
#C8B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C8B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B231
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B231#FFFFFF#000000##000000
##C8B2311.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD17
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#D8A499
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b231;
/* rgb */ color: rgb(200, 178, 49);
/* oklch */ color: oklch(76.1% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#ddc873',
    500: '#c8b231',
    950: '#000000',
  },
}
SCSS
$custom: #c8b231;
$custom-light: #ddc873;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b231",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 51.258,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76066,
    "c": 0.14275,
    "h": 99.1
  },
  "luminance": 0.44342
}

Semantic roles & 50–950 ramp

primary
#C8B231
secondary
#8691CE
accent
#5BE444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B231

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

Preview Lab → · Contrast checker → · Palette generator →

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