#C8BA3F#C8BA3F

#C8BA3F is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.141 H 102.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#C8BA3F
RGBrgb(200, 186, 63)
HSLhsl(54, 55%, 52%)
HSVhsv(54, 69%, 78%)
CMYKcmyk(0%, 7%, 68.5%, 21.6%)
CIE-LABlab(74.67, -9.15, 61.27)
CIE-LCHlch(74.67, 61.95, 98.50°)
OKLaboklab(77.85% -0.031 0.1371)
OKLCHoklch(77.85% 0.141 102.7)
XYZxyz(42.2773, 47.7578, 11.6929)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA3F #3F4DC8
analogous
#C8763F #C8BA3F #92C83F
triadic
#C8BA3F #3FC8BA #BA3FC8
tetradic
#C8BA3F #3FC876 #3F4DC8 #C83F92
square
#C8BA3F #3FC876 #3F4DC8 #C83F92
split-complementary
#C8BA3F #3F92C8 #763FC8
monochromatic
#6D651F #9D912D #C8BA3F #D6CB6F #E3DC9E

Accessibility & contrast

On white

1.99
#C8BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#C8BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA3F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA3F#FFFFFF#000000##000000
##C8BA3F1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42D
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#D7ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba3f;
/* rgb */ color: rgb(200, 186, 63);
/* oklch */ color: oklch(77.9% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#dcce7b',
    500: '#c8ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba3f;
$custom-light: #dcce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba3f",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 53.869,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77852,
    "c": 0.14053,
    "h": 102.7
  },
  "luminance": 0.47756
}

Semantic roles & 50–950 ramp

primary
#C8BA3F
secondary
#9399D0
accent
#58DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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