#C8BE40#C8BE40

#C8BE40 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.143 H 104.8°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#C8BE40
RGBrgb(200, 190, 64)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 5%, 68%, 21.6%)
CIE-LABlab(75.75, -11.15, 61.96)
CIE-LCHlch(75.75, 62.96, 100.20°)
OKLaboklab(78.71% -0.0366 0.1387)
OKLCHoklch(78.71% 0.143 104.8)
XYZxyz(43.1600, 49.4781, 12.1263)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BE40 #404AC8
analogous
#C87A40 #C8BE40 #8EC840
triadic
#C8BE40 #40C8BE #BE40C8
tetradic
#C8BE40 #40C87A #404AC8 #C8408E
square
#C8BE40 #40C87A #404AC8 #C8408E
split-complementary
#C8BE40 #408EC8 #7A40C8
monochromatic
#6E6820 #9D952D #C8BE40 #D6CE70 #E3DE9F

Accessibility & contrast

On white

1.93
#C8BE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#C8BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BE40
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BE40#FFFFFF#000000##000000
##C8BE401.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#D7B1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8be40;
/* rgb */ color: rgb(200, 190, 64);
/* oklch */ color: oklch(78.7% 0.143 104.8);
Tailwind
colors: {
  custom: {
    50: '#dcd17c',
    500: '#c8be40',
    950: '#000000',
  },
}
SCSS
$custom: #c8be40;
$custom-light: #dcd17c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8be40",
  "rgb": {
    "r": 200,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 55.588,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7871,
    "c": 0.14345,
    "h": 104.8
  },
  "luminance": 0.49476
}

Semantic roles & 50–950 ramp

primary
#C8BE40
secondary
#9498D0
accent
#54DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C8BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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