#C4B239#C4B239

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

Color values

HEX#C4B239
RGBrgb(196, 178, 57)
HSLhsl(52, 55%, 50%)
HSVhsv(52, 71%, 77%)
CMYKcmyk(0%, 9.2%, 70.9%, 23.1%)
CIE-LABlab(72.14, -7.04, 60.96)
CIE-LCHlch(72.14, 61.36, 96.59°)
OKLaboklab(75.75% -0.0254 0.1355)
OKLCHoklch(75.75% 0.138 100.6)
XYZxyz(39.4257, 43.8738, 10.2619)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B239 #394BC4
analogous
#C46C39 #C4B239 #91C439
triadic
#C4B239 #39C4B2 #B239C4
tetradic
#C4B239 #39C46C #394BC4 #C43991
square
#C4B239 #39C46C #394BC4 #C43991
split-complementary
#C4B239 #3991C4 #6C39C4
monochromatic
#655C1D #95872B #C4B239 #D3C567 #E1D797

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B239#FFFFFF#000000##000000
##C4B2391.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)
#C3AD26
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#D3A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c4b239;
/* rgb */ color: rgb(196, 178, 57);
/* oklch */ color: oklch(75.7% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#dac877',
    500: '#c4b239',
    950: '#000000',
  },
}
SCSS
$custom: #c4b239;
$custom-light: #dac877;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b239",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 52.23,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.13787,
    "h": 100.6
  },
  "luminance": 0.43872
}

Semantic roles & 50–950 ramp

primary
#C4B239
secondary
#8D95CC
accent
#5DDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B239

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

Preview Lab → · Contrast checker → · Palette generator →

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