#C8BA46#C8BA46

#C8BA46 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.135 H 102.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C8BA46
RGBrgb(200, 186, 70)
HSLhsl(54, 54%, 53%)
HSVhsv(54, 65%, 78%)
CMYKcmyk(0%, 7%, 65%, 21.6%)
CIE-LABlab(74.72, -8.75, 58.47)
CIE-LCHlch(74.72, 59.13, 98.51°)
OKLaboklab(77.91% -0.0291 0.1323)
OKLCHoklch(77.91% 0.135 102.4)
XYZxyz(42.4855, 47.8411, 12.7895)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA46 #4654C8
analogous
#C87946 #C8BA46 #95C846
triadic
#C8BA46 #46C8BA #BA46C8
tetradic
#C8BA46 #46C879 #4654C8 #C84695
square
#C8BA46 #46C879 #4654C8 #C84695
split-complementary
#C8BA46 #4695C8 #7946C8
monochromatic
#726922 #A19530 #C8BA46 #D6CC75 #E4DDA4

Accessibility & contrast

On white

1.99
#C8BA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C8BA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA46
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA46#FFFFFF#000000##000000
##C8BA461.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB437
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#D7AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba46;
/* rgb */ color: rgb(200, 186, 70);
/* oklch */ color: oklch(77.9% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#dcce7f',
    500: '#c8ba46',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba46;
$custom-light: #dcce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba46",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 53.538,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77911,
    "c": 0.13547,
    "h": 102.4
  },
  "luminance": 0.47839
}

Semantic roles & 50–950 ramp

primary
#C8BA46
secondary
#999FD1
accent
#5ADE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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