#C4B738#C4B738

#C4B738 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.8% C 0.143 H 103.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#C4B738
RGBrgb(196, 183, 56)
HSLhsl(54, 56%, 49%)
HSVhsv(54, 71%, 77%)
CMYKcmyk(0%, 6.6%, 71.4%, 23.1%)
CIE-LABlab(73.47, -9.68, 62.64)
CIE-LCHlch(73.47, 63.38, 98.79°)
OKLaboklab(76.8% -0.033 0.1389)
OKLCHoklch(76.8% 0.143 103.4)
XYZxyz(40.4140, 45.8899, 10.4695)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B738 #3845C4
analogous
#C47138 #C4B738 #8BC438
triadic
#C4B738 #38C4B7 #B738C4
tetradic
#C4B738 #38C471 #3845C4 #C4388B
square
#C4B738 #38C471 #3845C4 #C4388B
split-complementary
#C4B738 #388BC4 #7138C4
monochromatic
#655E1D #948B2A #C4B738 #D3C966 #E1DA96

Accessibility & contrast

On white

2.06
#C4B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#C4B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B738
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B738#FFFFFF#000000##000000
##C4B7381.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B123
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#D3AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b738;
/* rgb */ color: rgb(196, 183, 56);
/* oklch */ color: oklch(76.8% 0.143 103.4);
Tailwind
colors: {
  custom: {
    50: '#d9cc77',
    500: '#c4b738',
    950: '#000000',
  },
}
SCSS
$custom: #c4b738;
$custom-light: #d9cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b738",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 54.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.14275,
    "h": 103.4
  },
  "luminance": 0.45888
}

Semantic roles & 50–950 ramp

primary
#C4B738
secondary
#8C92CC
accent
#57DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B738

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

Preview Lab → · Contrast checker → · Palette generator →

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