#C4B831#C4B831

#C4B831 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.148 H 104.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#C4B831
RGBrgb(196, 184, 49)
HSLhsl(55, 60%, 48%)
HSVhsv(55, 75%, 77%)
CMYKcmyk(0%, 6.1%, 75%, 23.1%)
CIE-LABlab(73.70, -10.51, 65.34)
CIE-LCHlch(73.70, 66.18, 99.14°)
OKLaboklab(76.97% -0.036 0.1433)
OKLCHoklch(76.97% 0.148 104.1)
XYZxyz(40.4616, 46.2401, 9.6991)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B831 #313DC4
analogous
#C46E31 #C4B831 #86C431
triadic
#C4B831 #31C4B8 #B831C4
tetradic
#C4B831 #31C46E #313DC4 #C43186
square
#C4B831 #31C46E #313DC4 #C43186
split-complementary
#C4B831 #3186C4 #6E31C4
monochromatic
#625C19 #938A25 #C4B831 #D6CC5C #E2DB8D

Accessibility & contrast

On white

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

On black

10.25
#C4B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B831
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B831#FFFFFF#000000##000000
##C4B8311.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4b831;
/* rgb */ color: rgb(196, 184, 49);
/* oklch */ color: oklch(77.0% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#dacd74',
    500: '#c4b831',
    950: '#000000',
  },
}
SCSS
$custom: #c4b831;
$custom-light: #dacd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b831",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 55.102,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76969,
    "c": 0.14777,
    "h": 104.1
  },
  "luminance": 0.46238
}

Semantic roles & 50–950 ramp

primary
#C4B831
secondary
#848ACD
accent
#52E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B831

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

Preview Lab → · Contrast checker → · Palette generator →

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