#C8B241#C8B241

#C8B241 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.2% C 0.132 H 98.1°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C8B241
RGBrgb(200, 178, 65)
HSLhsl(50, 55%, 52%)
HSVhsv(50, 68%, 78%)
CMYKcmyk(0%, 11%, 67.5%, 21.6%)
CIE-LABlab(72.56, -4.89, 58.30)
CIE-LCHlch(72.56, 58.51, 94.79°)
OKLaboklab(76.18% -0.0187 0.1312)
OKLCHoklch(76.18% 0.132 98.1)
XYZxyz(40.6958, 44.5038, 11.4465)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B241 #4157C8
analogous
#C86F41 #C8B241 #9BC841
triadic
#C8B241 #41C8B2 #B241C8
tetradic
#C8B241 #41C86F #4157C8 #C8419B
square
#C8B241 #41C86F #4157C8 #C8419B
split-complementary
#C8B241 #419BC8 #6F41C8
monochromatic
#6F6220 #9E8C2E #C8B241 #D6C570 #E3D8A0

Accessibility & contrast

On white

2.12
#C8B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#C8B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B241
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B241#FFFFFF#000000##000000
##C8B2411.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE32
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#D7A59B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b241;
/* rgb */ color: rgb(200, 178, 65);
/* oklch */ color: oklch(76.2% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#dcc87b',
    500: '#c8b241',
    950: '#000000',
  },
}
SCSS
$custom: #c8b241;
$custom-light: #dcc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b241",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 50.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76184,
    "c": 0.13247,
    "h": 98.1
  },
  "luminance": 0.44502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B241

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

Preview Lab → · Contrast checker → · Palette generator →

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