#C8B948#C8B948

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

Color values

HEX#C8B948
RGBrgb(200, 185, 72)
HSLhsl(53, 54%, 53%)
HSVhsv(53, 64%, 78%)
CMYKcmyk(0%, 7.5%, 64%, 21.6%)
CIE-LABlab(74.47, -8.11, 57.36)
CIE-LCHlch(74.47, 57.93, 98.05°)
OKLaboklab(77.72% -0.0271 0.1303)
OKLCHoklch(77.72% 0.133 101.7)
XYZxyz(42.3398, 47.4469, 13.0576)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B948 #4857C8
analogous
#C87948 #C8B948 #97C848
triadic
#C8B948 #48C8B9 #B948C8
tetradic
#C8B948 #48C879 #4857C8 #C84897
square
#C8B948 #48C879 #4857C8 #C84897
split-complementary
#C8B948 #4897C8 #7948C8
monochromatic
#736A23 #A29531 #C8B948 #D6CB77 #E4DDA6

Accessibility & contrast

On white

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

On black

10.49
#C8B948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B948
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B948#FFFFFF#000000##000000
##C8B9481.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43A
Deuteranopia (green-blind)
#CEBA4E
Tritanopia (blue-blind)
#D7ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b948;
/* rgb */ color: rgb(200, 185, 72);
/* oklch */ color: oklch(77.7% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#dccd80',
    500: '#c8b948',
    950: '#000000',
  },
}
SCSS
$custom: #c8b948;
$custom-light: #dccd80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b948",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 52.969,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77718,
    "c": 0.13305,
    "h": 101.7
  },
  "luminance": 0.47445
}

Semantic roles & 50–950 ramp

primary
#C8B948
secondary
#9AA1D1
accent
#5CDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B948

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

Preview Lab → · Contrast checker → · Palette generator →

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