#C8BE4F#C8BE4F

#C8BE4F is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.8% C 0.132 H 104.2°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C8BE4F
RGBrgb(200, 190, 79)
HSLhsl(55, 52%, 55%)
HSVhsv(55, 61%, 78%)
CMYKcmyk(0%, 5%, 60.5%, 21.6%)
CIE-LABlab(75.87, -10.23, 55.83)
CIE-LCHlch(75.87, 56.76, 100.39°)
OKLaboklab(78.84% -0.0323 0.128)
OKLCHoklch(78.84% 0.132 104.2)
XYZxyz(43.6457, 49.6723, 14.6843)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BE4F #4F59C8
analogous
#C8814F #C8BE4F #96C84F
triadic
#C8BE4F #4FC8BE #BE4FC8
tetradic
#C8BE4F #4FC881 #4F59C8 #C84F96
square
#C8BE4F #4FC881 #4F59C8 #C84F96
split-complementary
#C8BE4F #4F96C8 #814FC8
monochromatic
#777125 #A69D34 #C8BE4F #D7CF7E #E5E0AC

Accessibility & contrast

On white

1.92
#C8BE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#C8BE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BE4F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BE4F#FFFFFF#000000##000000
##C8BE4F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB842
Deuteranopia (green-blind)
#D1BD55
Tritanopia (blue-blind)
#D6B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8be4f;
/* rgb */ color: rgb(200, 190, 79);
/* oklch */ color: oklch(78.8% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#dbd185',
    500: '#c8be4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8be4f;
$custom-light: #dbd185;
$custom-dark: #000000;
JSON
{
  "hex": "#c8be4f",
  "rgb": {
    "r": 200,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 55.041,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78844,
    "c": 0.13202,
    "h": 104.2
  },
  "luminance": 0.49671
}

Semantic roles & 50–950 ramp

primary
#C8BE4F
secondary
#A0A4D3
accent
#58DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C8BE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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