#C4B825#C4B825

#C4B825 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.9% C 0.154 H 104.4°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C4B825
RGBrgb(196, 184, 37)
HSLhsl(55, 68%, 46%)
HSVhsv(55, 81%, 77%)
CMYKcmyk(0%, 6.1%, 81.1%, 23.1%)
CIE-LABlab(73.64, -10.95, 68.95)
CIE-LCHlch(73.64, 69.82, 99.02°)
OKLaboklab(76.91% -0.0383 0.1488)
OKLCHoklch(76.91% 0.154 104.4)
XYZxyz(40.2412, 46.1520, 8.5384)
Luminance0.4615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B825 #2531C4
analogous
#C46925 #C4B825 #80C425
triadic
#C4B825 #25C4B8 #B825C4
tetradic
#C4B825 #25C469 #2531C4 #C42580
square
#C4B825 #25C469 #2531C4 #C42580
split-complementary
#C4B825 #2580C4 #6925C4
monochromatic
#5D5712 #91881B #C4B825 #DDD249 #E6DE7D

Accessibility & contrast

On white

2.05
#C4B825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C4B825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B825
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B825#FFFFFF#000000##000000
##C4B8251.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#D3AB9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b825;
/* rgb */ color: rgb(196, 184, 37);
/* oklch */ color: oklch(76.9% 0.154 104.4);
Tailwind
colors: {
  custom: {
    50: '#dacc6e',
    500: '#c4b825',
    950: '#000000',
  },
}
SCSS
$custom: #c4b825;
$custom-light: #dacc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b825",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 37
  },
  "hsl": {
    "h": 55.472,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76905,
    "c": 0.15363,
    "h": 104.4
  },
  "luminance": 0.4615
}

Semantic roles & 50–950 ramp

primary
#C4B825
secondary
#767DCF
accent
#4AEB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4B825

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

Preview Lab → · Contrast checker → · Palette generator →

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