#C4B23E#C4B23E

#C4B23E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.134 H 100.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C4B23E
RGBrgb(196, 178, 62)
HSLhsl(52, 53%, 51%)
HSVhsv(52, 68%, 77%)
CMYKcmyk(0%, 9.2%, 68.4%, 23.1%)
CIE-LABlab(72.18, -6.78, 59.02)
CIE-LCHlch(72.18, 59.41, 96.55°)
OKLaboklab(75.79% -0.0241 0.1323)
OKLCHoklch(75.79% 0.134 100.3)
XYZxyz(39.5566, 43.9261, 10.9515)
Luminance0.4392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B23E #3E50C4
analogous
#C46F3E #C4B23E #93C43E
triadic
#C4B23E #3EC4B2 #B23EC4
tetradic
#C4B23E #3EC46F #3E50C4 #C43E93
square
#C4B23E #3EC46F #3E50C4 #C43E93
split-complementary
#C4B23E #3E93C4 #6F3EC4
monochromatic
#685E20 #97892E #C4B23E #D2C56D #E1D79C

Accessibility & contrast

On white

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

On black

9.78
#C4B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B23E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B23E#FFFFFF#000000##000000
##C4B23E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4b23e;
/* rgb */ color: rgb(196, 178, 62);
/* oklch */ color: oklch(75.8% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#d9c87a',
    500: '#c4b23e',
    950: '#000000',
  },
}
SCSS
$custom: #c4b23e;
$custom-light: #d9c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b23e",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 51.94,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75786,
    "c": 0.13448,
    "h": 100.3
  },
  "luminance": 0.43924
}

Semantic roles & 50–950 ramp

primary
#C4B23E
secondary
#9199CD
accent
#5FDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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