#C8B348#C8B348

#C8B348 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.5% C 0.128 H 98.2°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C8B348
RGBrgb(200, 179, 72)
HSLhsl(50, 54%, 53%)
HSVhsv(50, 64%, 78%)
CMYKcmyk(0%, 10.5%, 64%, 21.6%)
CIE-LABlab(72.88, -4.99, 55.66)
CIE-LCHlch(72.88, 55.89, 95.13°)
OKLaboklab(76.46% -0.0181 0.1267)
OKLCHoklch(76.46% 0.128 98.2)
XYZxyz(41.1110, 44.9893, 12.6480)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B348 #485DC8
analogous
#C87348 #C8B348 #9DC848
triadic
#C8B348 #48C8B3 #B348C8
tetradic
#C8B348 #48C873 #485DC8 #C8489D
square
#C8B348 #48C873 #485DC8 #C8489D
split-complementary
#C8B348 #489DC8 #7348C8
monochromatic
#736623 #A28F31 #C8B348 #D6C777 #E4DAA6

Accessibility & contrast

On white

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

On black

10.00
#C8B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B348
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B348#FFFFFF#000000##000000
##C8B3481.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b348;
/* rgb */ color: rgb(200, 179, 72);
/* oklch */ color: oklch(76.5% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#dcc980',
    500: '#c8b348',
    950: '#000000',
  },
}
SCSS
$custom: #c8b348;
$custom-light: #dcc980;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b348",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 50.156,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76457,
    "c": 0.12796,
    "h": 98.2
  },
  "luminance": 0.44987
}

Semantic roles & 50–950 ramp

primary
#C8B348
secondary
#9AA3D1
accent
#63DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B348

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

Preview Lab → · Contrast checker → · Palette generator →

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