#C8BE42#C8BE42

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

Color values

HEX#C8BE42
RGBrgb(200, 190, 66)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 67%, 78%)
CMYKcmyk(0%, 5%, 67%, 21.6%)
CIE-LABlab(75.76, -11.04, 61.19)
CIE-LCHlch(75.76, 62.17, 100.23°)
OKLaboklab(78.73% -0.036 0.1374)
OKLCHoklch(78.73% 0.142 104.7)
XYZxyz(43.2179, 49.5012, 12.4314)
Luminance0.4950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BE42 #424CC8
analogous
#C87B42 #C8BE42 #8FC842
triadic
#C8BE42 #42C8BE #BE42C8
tetradic
#C8BE42 #42C87B #424CC8 #C8428F
square
#C8BE42 #42C87B #424CC8 #C8428F
split-complementary
#C8BE42 #428FC8 #7B42C8
monochromatic
#6F6920 #9F962E #C8BE42 #D6CE71 #E4DFA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BE42#FFFFFF#000000##000000
##C8BE421.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)
#CEB731
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#D6B1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8be42;
/* rgb */ color: rgb(200, 190, 66);
/* oklch */ color: oklch(78.7% 0.142 104.7);
Tailwind
colors: {
  custom: {
    50: '#dcd17d',
    500: '#c8be42',
    950: '#000000',
  },
}
SCSS
$custom: #c8be42;
$custom-light: #dcd17d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8be42",
  "rgb": {
    "r": 200,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 55.522,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78726,
    "c": 0.14205,
    "h": 104.7
  },
  "luminance": 0.495
}

Semantic roles & 50–950 ramp

primary
#C8BE42
secondary
#969AD0
accent
#55DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C8BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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