#C8B450#C8B450

#C8B450 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.7% C 0.122 H 98.1°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#C8B450
RGBrgb(200, 180, 80)
HSLhsl(50, 52%, 55%)
HSVhsv(50, 60%, 78%)
CMYKcmyk(0%, 10%, 60%, 21.6%)
CIE-LABlab(73.22, -4.98, 52.45)
CIE-LCHlch(73.22, 52.69, 95.42°)
OKLaboklab(76.75% -0.0172 0.121)
OKLCHoklch(76.75% 0.122 98.1)
XYZxyz(41.5903, 45.5029, 14.1801)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B450 #5064C8
analogous
#C87850 #C8B450 #A0C850
triadic
#C8B450 #50C8B4 #B450C8
tetradic
#C8B450 #50C878 #5064C8 #C850A0
square
#C8B450 #50C878 #5064C8 #C850A0
split-complementary
#C8B450 #50A0C8 #7850C8
monochromatic
#786A26 #A69334 #C8B450 #D7C87F #E5DCAD

Accessibility & contrast

On white

2.08
#C8B450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#C8B450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B450
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B450#FFFFFF#000000##000000
##C8B4501.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B045
Deuteranopia (green-blind)
#C9B755
Tritanopia (blue-blind)
#D6A89E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b450;
/* rgb */ color: rgb(200, 180, 80);
/* oklch */ color: oklch(76.7% 0.122 98.1);
Tailwind
colors: {
  custom: {
    50: '#dbca85',
    500: '#c8b450',
    950: '#000000',
  },
}
SCSS
$custom: #c8b450;
$custom-light: #dbca85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b450",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 50,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76747,
    "c": 0.12216,
    "h": 98.1
  },
  "luminance": 0.45501
}

Semantic roles & 50–950 ramp

primary
#C8B450
secondary
#A1A9D3
accent
#64DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B450

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

Preview Lab → · Contrast checker → · Palette generator →

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