#C4B923#C4B923

#C4B923 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.1% C 0.155 H 104.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#C4B923
RGBrgb(196, 185, 35)
HSLhsl(56, 70%, 45%)
HSVhsv(56, 82%, 77%)
CMYKcmyk(0%, 5.6%, 82.1%, 23.1%)
CIE-LABlab(73.91, -11.52, 69.71)
CIE-LCHlch(73.91, 70.66, 99.39°)
OKLaboklab(77.11% -0.04 0.1501)
OKLCHoklch(77.11% 0.155 104.9)
XYZxyz(40.4191, 46.5567, 8.4471)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B923 #232EC4
analogous
#C46923 #C4B923 #7EC423
triadic
#C4B923 #23C4B9 #B923C4
tetradic
#C4B923 #23C469 #232EC4 #C4237E
square
#C4B923 #23C469 #232EC4 #C4237E
split-complementary
#C4B923 #237EC4 #6923C4
monochromatic
#5C5710 #90881A #C4B923 #DED446 #E7E07A

Accessibility & contrast

On white

2.04
#C4B923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#C4B923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B923
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B923#FFFFFF#000000##000000
##C4B9231.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CEB831
Tritanopia (blue-blind)
#D3AC9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b923;
/* rgb */ color: rgb(196, 185, 35);
/* oklch */ color: oklch(77.1% 0.155 104.9);
Tailwind
colors: {
  custom: {
    50: '#dacd6e',
    500: '#c4b923',
    950: '#000000',
  },
}
SCSS
$custom: #c4b923;
$custom-light: #dacd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b923",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 35
  },
  "hsl": {
    "h": 55.901,
    "s": 69.697,
    "l": 45.294
  },
  "oklch": {
    "l": 0.77111,
    "c": 0.1553,
    "h": 104.9
  },
  "luminance": 0.46555
}

Semantic roles & 50–950 ramp

primary
#C4B923
secondary
#747ACF
accent
#47ED3B
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C4B923

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

Preview Lab → · Contrast checker → · Palette generator →

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