#C8B942#C8B942

#C8B942 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.7% C 0.138 H 102.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#C8B942
RGBrgb(200, 185, 66)
HSLhsl(53, 55%, 52%)
HSVhsv(53, 67%, 78%)
CMYKcmyk(0%, 7.5%, 67%, 21.6%)
CIE-LABlab(74.43, -8.47, 59.82)
CIE-LCHlch(74.43, 60.41, 98.06°)
OKLaboklab(77.66% -0.0288 0.1345)
OKLCHoklch(77.66% 0.138 102.1)
XYZxyz(42.1535, 47.3724, 12.0766)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B942 #4251C8
analogous
#C87642 #C8B942 #94C842
triadic
#C8B942 #42C8B9 #B942C8
tetradic
#C8B942 #42C876 #4251C8 #C84294
square
#C8B942 #42C876 #4251C8 #C84294
split-complementary
#C8B942 #4294C8 #7642C8
monochromatic
#6F6620 #9F922E #C8B942 #D6CB71 #E4DCA1

Accessibility & contrast

On white

2.00
#C8B942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#C8B942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B942
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B942#FFFFFF#000000##000000
##C8B9421.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB332
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#D7ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b942;
/* rgb */ color: rgb(200, 185, 66);
/* oklch */ color: oklch(77.7% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#dccd7d',
    500: '#c8b942',
    950: '#000000',
  },
}
SCSS
$custom: #c8b942;
$custom-light: #dccd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b942",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 53.284,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77665,
    "c": 0.13755,
    "h": 102.1
  },
  "luminance": 0.47371
}

Semantic roles & 50–950 ramp

primary
#C8B942
secondary
#969CD0
accent
#5ADE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B942

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

Preview Lab → · Contrast checker → · Palette generator →

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