#C8B134#C8B134

#C8B134 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.140 H 98.4°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C8B134
RGBrgb(200, 177, 52)
HSLhsl(51, 59%, 49%)
HSVhsv(51, 74%, 78%)
CMYKcmyk(0%, 11.5%, 74%, 21.6%)
CIE-LABlab(72.21, -5.02, 63.01)
CIE-LCHlch(72.21, 63.21, 94.55°)
OKLaboklab(75.88% -0.0204 0.1388)
OKLCHoklch(75.88% 0.14 98.4)
XYZxyz(40.1634, 43.9736, 9.6204)
Luminance0.4397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B134 #344BC8
analogous
#C86734 #C8B134 #95C834
triadic
#C8B134 #34C8B1 #B134C8
tetradic
#C8B134 #34C867 #344BC8 #C83495
square
#C8B134 #34C867 #344BC8 #C83495
split-complementary
#C8B134 #3495C8 #6734C8
monochromatic
#675B1B #978627 #C8B134 #D6C463 #E3D793

Accessibility & contrast

On white

2.14
#C8B134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C8B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B134
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B134#FFFFFF#000000##000000
##C8B1341.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1E
Deuteranopia (green-blind)
#C9B43C
Tritanopia (blue-blind)
#D8A499
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b134;
/* rgb */ color: rgb(200, 177, 52);
/* oklch */ color: oklch(75.9% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#ddc774',
    500: '#c8b134',
    950: '#000000',
  },
}
SCSS
$custom: #c8b134;
$custom-light: #ddc774;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b134",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 50.676,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75876,
    "c": 0.14027,
    "h": 98.4
  },
  "luminance": 0.43972
}

Semantic roles & 50–950 ramp

primary
#C8B134
secondary
#8A94CE
accent
#5EE246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B134

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

Preview Lab → · Contrast checker → · Palette generator →

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