#B38F22#B38F22

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

Color values

HEX#B38F22
RGBrgb(179, 143, 34)
HSLhsl(45, 68%, 42%)
HSVhsv(45, 81%, 70%)
CMYKcmyk(0%, 20.1%, 81%, 29.8%)
CIE-LABlab(61.09, 3.19, 58.24)
CIE-LCHlch(61.09, 58.33, 86.87°)
OKLaboklab(66.57% 0.0022 0.1259)
OKLCHoklch(66.57% 0.126 89)
XYZxyz(28.7034, 29.3461, 5.6656)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38F22 #2246B3
analogous
#B34622 #B38F22 #8FB322
triadic
#B38F22 #22B38F #8F22B3
tetradic
#B38F22 #22B346 #2246B3 #B3228F
square
#B38F22 #22B346 #2246B3 #B3228F
split-complementary
#B38F22 #228FB3 #4622B3
monochromatic
#4C3D0E #806618 #B38F22 #D9B239 #E3C66C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B38F22#FFFFFF#000000##000000
##B38F221.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)
#A18E06
Deuteranopia (green-blind)
#A99829
Tritanopia (blue-blind)
#C2827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b38f22;
/* rgb */ color: rgb(179, 143, 34);
/* oklch */ color: oklch(66.6% 0.126 89.0);
Tailwind
colors: {
  custom: {
    50: '#ceaf67',
    500: '#b38f22',
    950: '#000000',
  },
}
SCSS
$custom: #b38f22;
$custom-light: #ceaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#b38f22",
  "rgb": {
    "r": 179,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 45.103,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66575,
    "c": 0.12588,
    "h": 89
  },
  "luminance": 0.29344
}

Semantic roles & 50–950 ramp

primary
#B38F22
secondary
#6880C9
accent
#68EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B38F22

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

Preview Lab → · Contrast checker → · Palette generator →

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