#C4BB38#C4BB38

#C4BB38 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.7% C 0.146 H 105.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#C4BB38
RGBrgb(196, 187, 56)
HSLhsl(56, 56%, 49%)
HSVhsv(56, 71%, 77%)
CMYKcmyk(0%, 4.6%, 71.4%, 23.1%)
CIE-LABlab(74.55, -11.74, 63.69)
CIE-LCHlch(74.55, 64.76, 100.44°)
OKLaboklab(77.66% -0.0388 0.1411)
OKLCHoklch(77.66% 0.146 105.4)
XYZxyz(41.2508, 47.5635, 10.7484)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BB38 #3841C4
analogous
#C47538 #C4BB38 #87C438
triadic
#C4BB38 #38C4BB #BB38C4
tetradic
#C4BB38 #38C475 #3841C4 #C43887
square
#C4BB38 #38C475 #3841C4 #C43887
split-complementary
#C4BB38 #3887C4 #7538C4
monochromatic
#65601D #948E2A #C4BB38 #D3CC66 #E1DC96

Accessibility & contrast

On white

2.00
#C4BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#C4BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BB38
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BB38#FFFFFF#000000##000000
##C4BB381.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CFBA41
Tritanopia (blue-blind)
#D2AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4bb38;
/* rgb */ color: rgb(196, 187, 56);
/* oklch */ color: oklch(77.7% 0.146 105.4);
Tailwind
colors: {
  custom: {
    50: '#d9cf77',
    500: '#c4bb38',
    950: '#000000',
  },
}
SCSS
$custom: #c4bb38;
$custom-light: #d9cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4bb38",
  "rgb": {
    "r": 196,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 56.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77657,
    "c": 0.14633,
    "h": 105.4
  },
  "luminance": 0.47562
}

Semantic roles & 50–950 ramp

primary
#C4BB38
secondary
#8C90CC
accent
#53DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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