#C8B34F#C8B34F

#C8B34F is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.5% C 0.122 H 97.5°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#C8B34F
RGBrgb(200, 179, 79)
HSLhsl(50, 52%, 55%)
HSVhsv(50, 61%, 78%)
CMYKcmyk(0%, 10.5%, 60.5%, 21.6%)
CIE-LABlab(72.95, -4.53, 52.61)
CIE-LCHlch(72.95, 52.80, 94.92°)
OKLaboklab(76.53% -0.016 0.1212)
OKLCHoklch(76.53% 0.122 97.5)
XYZxyz(41.3525, 45.0859, 13.9199)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B34F #4F64C8
analogous
#C8774F #C8B34F #A0C84F
triadic
#C8B34F #4FC8B3 #B34FC8
tetradic
#C8B34F #4FC877 #4F64C8 #C84FA0
square
#C8B34F #4FC877 #4F64C8 #C84FA0
split-complementary
#C8B34F #4FA0C8 #774FC8
monochromatic
#776925 #A69234 #C8B34F #D7C77E #E5DBAC

Accessibility & contrast

On white

2.10
#C8B34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#C8B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B34F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B34F#FFFFFF#000000##000000
##C8B34F1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF44
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#D7A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b34f;
/* rgb */ color: rgb(200, 179, 79);
/* oklch */ color: oklch(76.5% 0.122 97.5);
Tailwind
colors: {
  custom: {
    50: '#dcc984',
    500: '#c8b34f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b34f;
$custom-light: #dcc984;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b34f",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 49.587,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76527,
    "c": 0.1222,
    "h": 97.5
  },
  "luminance": 0.45084
}

Semantic roles & 50–950 ramp

primary
#C8B34F
secondary
#A0A9D3
accent
#65DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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