#C4B827#C4B827

#C4B827 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.9% C 0.153 H 104.4°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C4B827
RGBrgb(196, 184, 39)
HSLhsl(55, 67%, 46%)
HSVhsv(55, 80%, 77%)
CMYKcmyk(0%, 6.1%, 80.1%, 23.1%)
CIE-LABlab(73.65, -10.89, 68.40)
CIE-LCHlch(73.65, 69.26, 99.04°)
OKLaboklab(76.92% -0.0379 0.148)
OKLCHoklch(76.92% 0.153 104.4)
XYZxyz(40.2735, 46.1649, 8.7084)
Luminance0.4616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B827 #2733C4
analogous
#C46927 #C4B827 #81C427
triadic
#C4B827 #27C4B8 #B827C4
tetradic
#C4B827 #27C469 #2733C4 #C42781
square
#C4B827 #27C469 #2733C4 #C42781
split-complementary
#C4B827 #2781C4 #6927C4
monochromatic
#5E5813 #91881D #C4B827 #DCD14D #E6DE80

Accessibility & contrast

On white

2.05
#C4B827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C4B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B827
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B827#FFFFFF#000000##000000
##C4B8271.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CDB833
Tritanopia (blue-blind)
#D3AB9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b827;
/* rgb */ color: rgb(196, 184, 39);
/* oklch */ color: oklch(76.9% 0.153 104.4);
Tailwind
colors: {
  custom: {
    50: '#dacc6f',
    500: '#c4b827',
    950: '#000000',
  },
}
SCSS
$custom: #c4b827;
$custom-light: #dacc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b827",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 55.414,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76915,
    "c": 0.15277,
    "h": 104.4
  },
  "luminance": 0.46163
}

Semantic roles & 50–950 ramp

primary
#C4B827
secondary
#797FCE
accent
#4BEA3E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4B827

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

Preview Lab → · Contrast checker → · Palette generator →

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