#C4B238#C4B238

#C4B238 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.139 H 100.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#C4B238
RGBrgb(196, 178, 56)
HSLhsl(52, 56%, 49%)
HSVhsv(52, 71%, 77%)
CMYKcmyk(0%, 9.2%, 71.4%, 23.1%)
CIE-LABlab(72.14, -7.09, 61.33)
CIE-LCHlch(72.14, 61.74, 96.59°)
OKLaboklab(75.74% -0.0257 0.1361)
OKLCHoklch(75.74% 0.139 100.7)
XYZxyz(39.4010, 43.8639, 10.1318)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B238 #384AC4
analogous
#C46C38 #C4B238 #90C438
triadic
#C4B238 #38C4B2 #B238C4
tetradic
#C4B238 #38C46C #384AC4 #C43890
square
#C4B238 #38C46C #384AC4 #C43890
split-complementary
#C4B238 #3890C4 #6C38C4
monochromatic
#655C1D #94872A #C4B238 #D3C566 #E1D796

Accessibility & contrast

On white

2.15
#C4B238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#C4B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B238
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B238#FFFFFF#000000##000000
##C4B2381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#D3A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c4b238;
/* rgb */ color: rgb(196, 178, 56);
/* oklch */ color: oklch(75.7% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#dac876',
    500: '#c4b238',
    950: '#000000',
  },
}
SCSS
$custom: #c4b238;
$custom-light: #dac876;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b238",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 52.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7574,
    "c": 0.13851,
    "h": 100.7
  },
  "luminance": 0.43862
}

Semantic roles & 50–950 ramp

primary
#C4B238
secondary
#8C94CC
accent
#5CDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B238

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

Preview Lab → · Contrast checker → · Palette generator →

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