#B38F20#B38F20

#B38F20 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.6% C 0.127 H 89.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B38F20
RGBrgb(179, 143, 32)
HSLhsl(45, 70%, 41%)
HSVhsv(45, 82%, 70%)
CMYKcmyk(0%, 20.1%, 82.1%, 29.8%)
CIE-LABlab(61.08, 3.12, 58.88)
CIE-LCHlch(61.08, 58.96, 86.96°)
OKLaboklab(66.56% 0.0019 0.1268)
OKLCHoklch(66.56% 0.127 89.2)
XYZxyz(28.6754, 29.3348, 5.5181)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38F20 #2044B3
analogous
#B34620 #B38F20 #8EB320
triadic
#B38F20 #20B38F #8F20B3
tetradic
#B38F20 #20B346 #2044B3 #B3208E
square
#B38F20 #20B346 #2044B3 #B3208E
split-complementary
#B38F20 #208EB3 #4620B3
monochromatic
#4B3C0D #7F6617 #B38F20 #DBB235 #E4C669

Accessibility & contrast

On white

3.06
#B38F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B38F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B38F20
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38F20#FFFFFF#000000##000000
##B38F201.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E01
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#C2827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b38f20;
/* rgb */ color: rgb(179, 143, 32);
/* oklch */ color: oklch(66.6% 0.127 89.2);
Tailwind
colors: {
  custom: {
    50: '#ceaf66',
    500: '#b38f20',
    950: '#000000',
  },
}
SCSS
$custom: #b38f20;
$custom-light: #ceaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#b38f20",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 45.306,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.12682,
    "h": 89.2
  },
  "luminance": 0.29333
}

Semantic roles & 50–950 ramp

primary
#B38F20
secondary
#657ECA
accent
#67EC3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B38F20

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

Preview Lab → · Contrast checker → · Palette generator →

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