#C4B838#C4B838

#C4B838 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.0% C 0.144 H 103.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#C4B838
RGBrgb(196, 184, 56)
HSLhsl(55, 56%, 49%)
HSVhsv(55, 71%, 77%)
CMYKcmyk(0%, 6.1%, 71.4%, 23.1%)
CIE-LABlab(73.74, -10.20, 62.90)
CIE-LCHlch(73.74, 63.72, 99.21°)
OKLaboklab(77.02% -0.0345 0.1394)
OKLCHoklch(77.02% 0.144 103.9)
XYZxyz(40.6210, 46.3039, 10.5385)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B838 #3844C4
analogous
#C47238 #C4B838 #8AC438
triadic
#C4B838 #38C4B8 #B838C4
tetradic
#C4B838 #38C472 #3844C4 #C4388A
square
#C4B838 #38C472 #3844C4 #C4388A
split-complementary
#C4B838 #388AC4 #7238C4
monochromatic
#655F1D #948B2A #C4B838 #D3CA66 #E1DA96

Accessibility & contrast

On white

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

On black

10.26
#C4B838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B838
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B838#FFFFFF#000000##000000
##C4B8381.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B222
Deuteranopia (green-blind)
#CCB841
Tritanopia (blue-blind)
#D3AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b838;
/* rgb */ color: rgb(196, 184, 56);
/* oklch */ color: oklch(77.0% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#d9cd77',
    500: '#c4b838',
    950: '#000000',
  },
}
SCSS
$custom: #c4b838;
$custom-light: #d9cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b838",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 54.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77015,
    "c": 0.14364,
    "h": 103.9
  },
  "luminance": 0.46302
}

Semantic roles & 50–950 ramp

primary
#C4B838
secondary
#8C91CC
accent
#56DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B838

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

Preview Lab → · Contrast checker → · Palette generator →

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