#C8BE3F#C8BE3F

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

Color values

HEX#C8BE3F
RGBrgb(200, 190, 63)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 69%, 78%)
CMYKcmyk(0%, 5%, 68.5%, 21.6%)
CIE-LABlab(75.74, -11.21, 62.34)
CIE-LCHlch(75.74, 63.34, 100.19°)
OKLaboklab(78.7% -0.0368 0.1394)
OKLCHoklch(78.7% 0.144 104.8)
XYZxyz(43.1318, 49.4668, 11.9777)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BE3F #3F49C8
analogous
#C8793F #C8BE3F #8EC83F
triadic
#C8BE3F #3FC8BE #BE3FC8
tetradic
#C8BE3F #3FC879 #3F49C8 #C83F8E
square
#C8BE3F #3FC879 #3F49C8 #C83F8E
split-complementary
#C8BE3F #3F8EC8 #793FC8
monochromatic
#6D681F #9D952D #C8BE3F #D6CE6F #E3DE9E

Accessibility & contrast

On white

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

On black

10.89
#C8BE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BE3F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BE3F#FFFFFF#000000##000000
##C8BE3F1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8be3f;
/* rgb */ color: rgb(200, 190, 63);
/* oklch */ color: oklch(78.7% 0.144 104.8);
Tailwind
colors: {
  custom: {
    50: '#dcd17b',
    500: '#c8be3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8be3f;
$custom-light: #dcd17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8be3f",
  "rgb": {
    "r": 200,
    "g": 190,
    "b": 63
  },
  "hsl": {
    "h": 55.62,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78702,
    "c": 0.14413,
    "h": 104.8
  },
  "luminance": 0.49465
}

Semantic roles & 50–950 ramp

primary
#C8BE3F
secondary
#9398D0
accent
#54DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#15140A
muted
#84827C

Preview Lab

Preview with #C8BE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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