#C8BA61#C8BA61

#C8BA61 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.112 H 100.5°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#C8BA61
RGBrgb(200, 186, 97)
HSLhsl(52, 48%, 58%)
HSVhsv(52, 52%, 78%)
CMYKcmyk(0%, 7%, 51.5%, 21.6%)
CIE-LABlab(74.99, -6.77, 46.45)
CIE-LCHlch(74.99, 46.94, 98.29°)
OKLaboklab(78.21% -0.0204 0.1099)
OKLCHoklch(78.21% 0.112 100.5)
XYZxyz(43.5373, 48.2618, 18.3290)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA61 #616FC8
analogous
#C88661 #C8BA61 #A2C861
triadic
#C8BA61 #61C8BA #BA61C8
tetradic
#C8BA61 #61C886 #616FC8 #C861A2
square
#C8BA61 #61C886 #616FC8 #C861A2
split-complementary
#C8BA61 #61A2C8 #8661C8
monochromatic
#82762D #AF9F3D #C8BA61 #D8CE8E #E8E2BC

Accessibility & contrast

On white

1.97
#C8BA61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#C8BA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA61
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA61#FFFFFF#000000##000000
##C8BA611.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B559
Deuteranopia (green-blind)
#CDBB65
Tritanopia (blue-blind)
#D5AFA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba61;
/* rgb */ color: rgb(200, 186, 97);
/* oklch */ color: oklch(78.2% 0.112 100.5);
Tailwind
colors: {
  custom: {
    50: '#dbce90',
    500: '#c8ba61',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba61;
$custom-light: #dbce90;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba61",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 97
  },
  "hsl": {
    "h": 51.845,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78207,
    "c": 0.11172,
    "h": 100.5
  },
  "luminance": 0.4826
}

Semantic roles & 50–950 ramp

primary
#C8BA61
secondary
#AEB3D7
accent
#62D850
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C8BA61

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

Preview Lab → · Contrast checker → · Palette generator →

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