#C8B341#C8B341

#C8B341 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.133 H 98.7°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C8B341
RGBrgb(200, 179, 65)
HSLhsl(51, 55%, 52%)
HSVhsv(51, 68%, 78%)
CMYKcmyk(0%, 10.5%, 67.5%, 21.6%)
CIE-LABlab(72.83, -5.41, 58.58)
CIE-LCHlch(72.83, 58.83, 95.28°)
OKLaboklab(76.39% -0.0201 0.1317)
OKLCHoklch(76.39% 0.133 98.7)
XYZxyz(40.8955, 44.9031, 11.5131)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B341 #4156C8
analogous
#C87041 #C8B341 #99C841
triadic
#C8B341 #41C8B3 #B341C8
tetradic
#C8B341 #41C870 #4156C8 #C84199
square
#C8B341 #41C870 #4156C8 #C84199
split-complementary
#C8B341 #4199C8 #7041C8
monochromatic
#6F6220 #9E8D2E #C8B341 #D6C670 #E3D9A0

Accessibility & contrast

On white

2.10
#C8B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#C8B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B341
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B341#FFFFFF#000000##000000
##C8B3411.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#D7A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b341;
/* rgb */ color: rgb(200, 179, 65);
/* oklch */ color: oklch(76.4% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#dcc97c',
    500: '#c8b341',
    950: '#000000',
  },
}
SCSS
$custom: #c8b341;
$custom-light: #dcc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b341",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 50.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76393,
    "c": 0.13326,
    "h": 98.7
  },
  "luminance": 0.44901
}

Semantic roles & 50–950 ramp

primary
#C8B341
secondary
#959ED0
accent
#61DE49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8B341

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

Preview Lab → · Contrast checker → · Palette generator →

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