#C8BA54#C8BA54

#C8BA54 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.124 H 101.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#C8BA54
RGBrgb(200, 186, 84)
HSLhsl(53, 51%, 56%)
HSVhsv(53, 58%, 78%)
CMYKcmyk(0%, 7%, 58%, 21.6%)
CIE-LABlab(74.85, -7.81, 52.45)
CIE-LCHlch(74.85, 53.03, 98.47°)
OKLaboklab(78.05% -0.0248 0.1214)
OKLCHoklch(78.05% 0.124 101.6)
XYZxyz(42.9801, 48.0389, 15.3942)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA54 #5462C8
analogous
#C88054 #C8BA54 #9CC854
triadic
#C8BA54 #54C8BA #BA54C8
tetradic
#C8BA54 #54C880 #5462C8 #C8549C
square
#C8BA54 #54C880 #5462C8 #C8549C
split-complementary
#C8BA54 #549CC8 #8054C8
monochromatic
#7A7027 #A99B36 #C8BA54 #D7CD82 #E6DFB1

Accessibility & contrast

On white

1.98
#C8BA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#C8BA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA54
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA54#FFFFFF#000000##000000
##C8BA541.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B549
Deuteranopia (green-blind)
#CEBB59
Tritanopia (blue-blind)
#D6AEA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba54;
/* rgb */ color: rgb(200, 186, 84);
/* oklch */ color: oklch(78.0% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#dbce88',
    500: '#c8ba54',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba54;
$custom-light: #dbce88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba54",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 52.759,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7805,
    "c": 0.12395,
    "h": 101.6
  },
  "luminance": 0.48037
}

Semantic roles & 50–950 ramp

primary
#C8BA54
secondary
#A4AAD4
accent
#5EDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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