#C8B538#C8B538

#C8B538 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.7% C 0.141 H 100.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C8B538
RGBrgb(200, 181, 56)
HSLhsl(52, 57%, 50%)
HSVhsv(52, 72%, 78%)
CMYKcmyk(0%, 9.5%, 72%, 21.6%)
CIE-LABlab(73.29, -6.92, 62.59)
CIE-LCHlch(73.29, 62.97, 96.31°)
OKLaboklab(76.74% -0.0254 0.1386)
OKLCHoklch(76.74% 0.141 100.4)
XYZxyz(41.0590, 45.6145, 10.3824)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B538 #384BC8
analogous
#C86D38 #C8B538 #93C838
triadic
#C8B538 #38C8B5 #B538C8
tetradic
#C8B538 #38C86D #384BC8 #C83893
square
#C8B538 #38C86D #384BC8 #C83893
split-complementary
#C8B538 #3893C8 #6D38C8
monochromatic
#695F1D #998A2A #C8B538 #D5C768 #E3D998

Accessibility & contrast

On white

2.07
#C8B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C8B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B538
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B538#FFFFFF#000000##000000
##C8B5381.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#CCB740
Tritanopia (blue-blind)
#D7A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b538;
/* rgb */ color: rgb(200, 181, 56);
/* oklch */ color: oklch(76.7% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#dcca77',
    500: '#c8b538',
    950: '#000000',
  },
}
SCSS
$custom: #c8b538;
$custom-light: #dcca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b538",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 52.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76743,
    "c": 0.14093,
    "h": 100.4
  },
  "luminance": 0.45613
}

Semantic roles & 50–950 ramp

primary
#C8B538
secondary
#8E96CE
accent
#5CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B538

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

Preview Lab → · Contrast checker → · Palette generator →

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