#C4B23B#C4B23B

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

Color values

HEX#C4B23B
RGBrgb(196, 178, 59)
HSLhsl(52, 54%, 50%)
HSVhsv(52, 70%, 77%)
CMYKcmyk(0%, 9.2%, 69.9%, 23.1%)
CIE-LABlab(72.16, -6.94, 60.19)
CIE-LCHlch(72.16, 60.59, 96.57°)
OKLaboklab(75.76% -0.0249 0.1343)
OKLCHoklch(75.76% 0.137 100.5)
XYZxyz(39.4765, 43.8941, 10.5299)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B23B #3B4DC4
analogous
#C46E3B #C4B23B #91C43B
triadic
#C4B23B #3BC4B2 #B23BC4
tetradic
#C4B23B #3BC46E #3B4DC4 #C43B91
square
#C4B23B #3BC46E #3B4DC4 #C43B91
split-complementary
#C4B23B #3B91C4 #6E3BC4
monochromatic
#665D1F #95872D #C4B23B #D2C46A #E0D799

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B23B#FFFFFF#000000##000000
##C4B23B1.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)
#C3AD29
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#D3A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c4b23b;
/* rgb */ color: rgb(196, 178, 59);
/* oklch */ color: oklch(75.8% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#d9c878',
    500: '#c4b23b',
    950: '#000000',
  },
}
SCSS
$custom: #c4b23b;
$custom-light: #d9c878;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b23b",
  "rgb": {
    "r": 196,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 52.117,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.75762,
    "c": 0.13655,
    "h": 100.5
  },
  "luminance": 0.43892
}

Semantic roles & 50–950 ramp

primary
#C4B23B
secondary
#8F97CC
accent
#5EDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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