#C4B438#C4B438

#C4B438 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.2% C 0.140 H 101.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#C4B438
RGBrgb(196, 180, 56)
HSLhsl(53, 56%, 49%)
HSVhsv(53, 71%, 77%)
CMYKcmyk(0%, 8.2%, 71.4%, 23.1%)
CIE-LABlab(72.67, -8.13, 61.85)
CIE-LCHlch(72.67, 62.39, 97.49°)
OKLaboklab(76.16% -0.0286 0.1372)
OKLCHoklch(76.16% 0.14 101.8)
XYZxyz(39.8018, 44.6655, 10.2654)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B438 #3848C4
analogous
#C46E38 #C4B438 #8EC438
triadic
#C4B438 #38C4B4 #B438C4
tetradic
#C4B438 #38C46E #3848C4 #C4388E
square
#C4B438 #38C46E #3848C4 #C4388E
split-complementary
#C4B438 #388EC4 #6E38C4
monochromatic
#655D1D #94882A #C4B438 #D3C766 #E1D896

Accessibility & contrast

On white

2.11
#C4B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#C4B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B438
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B438#FFFFFF#000000##000000
##C4B4381.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF24
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#D3A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b438;
/* rgb */ color: rgb(196, 180, 56);
/* oklch */ color: oklch(76.2% 0.140 101.8);
Tailwind
colors: {
  custom: {
    50: '#daca77',
    500: '#c4b438',
    950: '#000000',
  },
}
SCSS
$custom: #c4b438;
$custom-light: #daca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b438",
  "rgb": {
    "r": 196,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 53.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76163,
    "c": 0.14017,
    "h": 101.8
  },
  "luminance": 0.44664
}

Semantic roles & 50–950 ramp

primary
#C4B438
secondary
#8C93CC
accent
#5ADF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B438

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

Preview Lab → · Contrast checker → · Palette generator →

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