#C8BE5A#C8BE5A

#C8BE5A is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.122 H 103.6°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C8BE5A
RGBrgb(200, 190, 90)
HSLhsl(55, 50%, 57%)
HSVhsv(55, 55%, 78%)
CMYKcmyk(0%, 5%, 55%, 21.6%)
CIE-LABlab(75.97, -9.42, 50.95)
CIE-LCHlch(75.97, 51.81, 100.48°)
OKLaboklab(78.96% -0.0288 0.1189)
OKLCHoklch(78.96% 0.122 103.6)
XYZxyz(44.0797, 49.8460, 16.9702)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BE5A #5A64C8
analogous
#C8875A #C8BE5A #9BC85A
triadic
#C8BE5A #5AC8BE #BE5AC8
tetradic
#C8BE5A #5AC887 #5A64C8 #C85A9B
square
#C8BE5A #5AC887 #5A64C8 #C85A9B
split-complementary
#C8BE5A #5A9BC8 #875AC8
monochromatic
#7E762A #ACA139 #C8BE5A #D7D088 #E7E2B6

Accessibility & contrast

On white

1.91
#C8BE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#C8BE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BE5A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BE5A#FFFFFF#000000##000000
##C8BE5A1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB850
Deuteranopia (green-blind)
#D0BE5F
Tritanopia (blue-blind)
#D5B3A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8be5a;
/* rgb */ color: rgb(200, 190, 90);
/* oklch */ color: oklch(79.0% 0.122 103.6);
Tailwind
colors: {
  custom: {
    50: '#dbd18c',
    500: '#c8be5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8be5a;
$custom-light: #dbd18c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8be5a",
  "rgb": {
    "r": 200,
    "g": 190,
    "b": 90
  },
  "hsl": {
    "h": 54.545,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78963,
    "c": 0.12234,
    "h": 103.6
  },
  "luminance": 0.49844
}

Semantic roles & 50–950 ramp

primary
#C8BE5A
secondary
#A8ADD5
accent
#5BDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C8BE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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