#C4B925#C4B925

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

Color values

HEX#C4B925
RGBrgb(196, 185, 37)
HSLhsl(56, 68%, 46%)
HSVhsv(56, 81%, 77%)
CMYKcmyk(0%, 5.6%, 81.1%, 23.1%)
CIE-LABlab(73.91, -11.46, 69.19)
CIE-LCHlch(73.91, 70.13, 99.41°)
OKLaboklab(77.12% -0.0397 0.1493)
OKLCHoklch(77.12% 0.154 104.9)
XYZxyz(40.4497, 46.5689, 8.6079)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B925 #2530C4
analogous
#C46925 #C4B925 #7FC425
triadic
#C4B925 #25C4B9 #B925C4
tetradic
#C4B925 #25C469 #2530C4 #C4257F
square
#C4B925 #25C469 #2530C4 #C4257F
split-complementary
#C4B925 #257FC4 #6925C4
monochromatic
#5D5812 #91881B #C4B925 #DDD349 #E6DF7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B925#FFFFFF#000000##000000
##C4B9251.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)
#CEB832
Tritanopia (blue-blind)
#D3AC9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b925;
/* rgb */ color: rgb(196, 185, 37);
/* oklch */ color: oklch(77.1% 0.154 104.9);
Tailwind
colors: {
  custom: {
    50: '#dacd6e',
    500: '#c4b925',
    950: '#000000',
  },
}
SCSS
$custom: #c4b925;
$custom-light: #dacd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b925",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 37
  },
  "hsl": {
    "h": 55.849,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7712,
    "c": 0.15449,
    "h": 104.9
  },
  "luminance": 0.46567
}

Semantic roles & 50–950 ramp

primary
#C4B925
secondary
#767CCF
accent
#49EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4B925

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

Preview Lab → · Contrast checker → · Palette generator →

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