#C8B846#C8B846

#C8B846 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.134 H 101.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C8B846
RGBrgb(200, 184, 70)
HSLhsl(53, 54%, 53%)
HSVhsv(53, 65%, 78%)
CMYKcmyk(0%, 8%, 65%, 21.6%)
CIE-LABlab(74.19, -7.72, 57.91)
CIE-LCHlch(74.19, 58.43, 97.59°)
OKLaboklab(77.49% -0.0262 0.1311)
OKLCHoklch(77.49% 0.134 101.3)
XYZxyz(42.0671, 47.0043, 12.6500)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B846 #4656C8
analogous
#C87746 #C8B846 #97C846
triadic
#C8B846 #46C8B8 #B846C8
tetradic
#C8B846 #46C877 #4656C8 #C84697
square
#C8B846 #46C877 #4656C8 #C84697
split-complementary
#C8B846 #4697C8 #7746C8
monochromatic
#726822 #A19330 #C8B846 #D6CA75 #E4DCA4

Accessibility & contrast

On white

2.02
#C8B846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#C8B846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B846
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B846#FFFFFF#000000##000000
##C8B8461.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B338
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#D7ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b846;
/* rgb */ color: rgb(200, 184, 70);
/* oklch */ color: oklch(77.5% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#dccd7f',
    500: '#c8b846',
    950: '#000000',
  },
}
SCSS
$custom: #c8b846;
$custom-light: #dccd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b846",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 52.615,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77488,
    "c": 0.13372,
    "h": 101.3
  },
  "luminance": 0.47003
}

Semantic roles & 50–950 ramp

primary
#C8B846
secondary
#99A0D1
accent
#5CDE4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B846

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

Preview Lab → · Contrast checker → · Palette generator →

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