#C8B33B#C8B33B

#C8B33B is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.137 H 99.1°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C8B33B
RGBrgb(200, 179, 59)
HSLhsl(51, 56%, 51%)
HSVhsv(51, 71%, 78%)
CMYKcmyk(0%, 10.5%, 70.5%, 21.6%)
CIE-LABlab(72.78, -5.73, 60.94)
CIE-LCHlch(72.78, 61.21, 95.37°)
OKLaboklab(76.35% -0.0217 0.1357)
OKLCHoklch(76.35% 0.137 99.1)
XYZxyz(40.7308, 44.8373, 10.6459)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B33B #3B50C8
analogous
#C86C3B #C8B33B #96C83B
triadic
#C8B33B #3BC8B3 #B33BC8
tetradic
#C8B33B #3BC86C #3B50C8 #C83B96
square
#C8B33B #3BC86C #3B50C8 #C83B96
split-complementary
#C8B33B #3B96C8 #6C3BC8
monochromatic
#6B5F1E #9A8A2B #C8B33B #D5C66B #E3D89B

Accessibility & contrast

On white

2.11
#C8B33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C8B33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B33B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B33B#FFFFFF#000000##000000
##C8B33B1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE29
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#D7A69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b33b;
/* rgb */ color: rgb(200, 179, 59);
/* oklch */ color: oklch(76.3% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#dcc978',
    500: '#c8b33b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b33b;
$custom-light: #dcc978;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b33b",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 51.064,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76345,
    "c": 0.13741,
    "h": 99.1
  },
  "luminance": 0.44835
}

Semantic roles & 50–950 ramp

primary
#C8B33B
secondary
#9099CF
accent
#5FDF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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