#C4B927#C4B927

#C4B927 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.1% C 0.154 H 104.9°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#C4B927
RGBrgb(196, 185, 39)
HSLhsl(56, 67%, 46%)
HSVhsv(56, 80%, 77%)
CMYKcmyk(0%, 5.6%, 80.1%, 23.1%)
CIE-LABlab(73.92, -11.40, 68.64)
CIE-LCHlch(73.92, 69.58, 99.43°)
OKLaboklab(77.13% -0.0394 0.1485)
OKLCHoklch(77.13% 0.154 104.9)
XYZxyz(40.4819, 46.5818, 8.7779)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B927 #2732C4
analogous
#C46A27 #C4B927 #80C427
triadic
#C4B927 #27C4B9 #B927C4
tetradic
#C4B927 #27C46A #2732C4 #C42780
square
#C4B927 #27C46A #2732C4 #C42780
split-complementary
#C4B927 #2780C4 #6A27C4
monochromatic
#5E5913 #91891D #C4B927 #DCD24D #E6DF80

Accessibility & contrast

On white

2.04
#C4B927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#C4B927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B927
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B927#FFFFFF#000000##000000
##C4B9271.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CEB834
Tritanopia (blue-blind)
#D3AC9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b927;
/* rgb */ color: rgb(196, 185, 39);
/* oklch */ color: oklch(77.1% 0.154 104.9);
Tailwind
colors: {
  custom: {
    50: '#dacd6f',
    500: '#c4b927',
    950: '#000000',
  },
}
SCSS
$custom: #c4b927;
$custom-light: #dacd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b927",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 55.796,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77129,
    "c": 0.15362,
    "h": 104.9
  },
  "luminance": 0.4658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4B927

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

Preview Lab → · Contrast checker → · Palette generator →

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