#B38F21#B38F21

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

Color values

HEX#B38F21
RGBrgb(179, 143, 33)
HSLhsl(45, 69%, 42%)
HSVhsv(45, 82%, 70%)
CMYKcmyk(0%, 20.1%, 81.6%, 29.8%)
CIE-LABlab(61.08, 3.15, 58.56)
CIE-LCHlch(61.08, 58.65, 86.92°)
OKLaboklab(66.57% 0.002 0.1263)
OKLCHoklch(66.57% 0.126 89.1)
XYZxyz(28.6892, 29.3404, 5.5907)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38F21 #2145B3
analogous
#B34621 #B38F21 #8EB321
triadic
#B38F21 #21B38F #8F21B3
tetradic
#B38F21 #21B346 #2145B3 #B3218E
square
#B38F21 #21B346 #2145B3 #B3218E
split-complementary
#B38F21 #218EB3 #4621B3
monochromatic
#4C3C0E #7F6617 #B38F21 #DAB237 #E4C66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B38F21#FFFFFF#000000##000000
##B38F211.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)
#A18E03
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#C2827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b38f21;
/* rgb */ color: rgb(179, 143, 33);
/* oklch */ color: oklch(66.6% 0.126 89.1);
Tailwind
colors: {
  custom: {
    50: '#ceaf67',
    500: '#b38f21',
    950: '#000000',
  },
}
SCSS
$custom: #b38f21;
$custom-light: #ceaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#b38f21",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 45.205,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6657,
    "c": 0.12636,
    "h": 89.1
  },
  "luminance": 0.29338
}

Semantic roles & 50–950 ramp

primary
#B38F21
secondary
#667FCA
accent
#67EC3C
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B38F21

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

Preview Lab → · Contrast checker → · Palette generator →

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