#C8B248#C8B248

#C8B248 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.2% C 0.127 H 97.5°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C8B248
RGBrgb(200, 178, 72)
HSLhsl(50, 54%, 53%)
HSVhsv(50, 64%, 78%)
CMYKcmyk(0%, 11%, 64%, 21.6%)
CIE-LABlab(72.62, -4.47, 55.38)
CIE-LCHlch(72.62, 55.56, 94.61°)
OKLaboklab(76.25% -0.0167 0.1261)
OKLCHoklch(76.25% 0.127 97.5)
XYZxyz(40.9113, 44.5899, 12.5814)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B248 #485EC8
analogous
#C87248 #C8B248 #9EC848
triadic
#C8B248 #48C8B2 #B248C8
tetradic
#C8B248 #48C872 #485EC8 #C8489E
square
#C8B248 #48C872 #485EC8 #C8489E
split-complementary
#C8B248 #489EC8 #7248C8
monochromatic
#736523 #A28F31 #C8B248 #D6C677 #E4DAA6

Accessibility & contrast

On white

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

On black

9.92
#C8B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B248
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B248#FFFFFF#000000##000000
##C8B2481.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3C
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#D7A59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b248;
/* rgb */ color: rgb(200, 178, 72);
/* oklch */ color: oklch(76.2% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#dcc880',
    500: '#c8b248',
    950: '#000000',
  },
}
SCSS
$custom: #c8b248;
$custom-light: #dcc880;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b248",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 49.688,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76248,
    "c": 0.12716,
    "h": 97.5
  },
  "luminance": 0.44588
}

Semantic roles & 50–950 ramp

primary
#C8B248
secondary
#9AA4D1
accent
#64DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B248

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

Preview Lab → · Contrast checker → · Palette generator →

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