#C8B142#C8B142

#C8B142 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.131 H 97.4°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#C8B142
RGBrgb(200, 177, 66)
HSLhsl(50, 55%, 52%)
HSVhsv(50, 67%, 78%)
CMYKcmyk(0%, 11.5%, 67%, 21.6%)
CIE-LABlab(72.31, -4.31, 57.62)
CIE-LCHlch(72.31, 57.78, 94.27°)
OKLaboklab(75.98% -0.0169 0.1299)
OKLCHoklch(75.98% 0.131 97.4)
XYZxyz(40.5268, 44.1190, 11.5343)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B142 #4259C8
analogous
#C86E42 #C8B142 #9CC842
triadic
#C8B142 #42C8B1 #B142C8
tetradic
#C8B142 #42C86E #4259C8 #C8429C
square
#C8B142 #42C86E #4259C8 #C8429C
split-complementary
#C8B142 #429CC8 #6E42C8
monochromatic
#6F6220 #9F8B2E #C8B142 #D6C571 #E4D8A1

Accessibility & contrast

On white

2.14
#C8B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#C8B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B142
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B142#FFFFFF#000000##000000
##C8B1421.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD34
Deuteranopia (green-blind)
#C8B548
Tritanopia (blue-blind)
#D7A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b142;
/* rgb */ color: rgb(200, 177, 66);
/* oklch */ color: oklch(76.0% 0.131 97.4);
Tailwind
colors: {
  custom: {
    50: '#dcc87c',
    500: '#c8b142',
    950: '#000000',
  },
}
SCSS
$custom: #c8b142;
$custom-light: #dcc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b142",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 49.701,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75984,
    "c": 0.13096,
    "h": 97.4
  },
  "luminance": 0.44117
}

Semantic roles & 50–950 ramp

primary
#C8B142
secondary
#96A0D0
accent
#63DE4A
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B142

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

Preview Lab → · Contrast checker → · Palette generator →

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