#B18F20#B18F20

#B18F20 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.4% C 0.126 H 90.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B18F20
RGBrgb(177, 143, 32)
HSLhsl(46, 69%, 41%)
HSVhsv(46, 82%, 69%)
CMYKcmyk(0%, 19.2%, 81.9%, 30.6%)
CIE-LABlab(60.87, 2.22, 58.61)
CIE-LCHlch(60.87, 58.66, 87.83°)
OKLaboklab(66.35% -0.0006 0.1264)
OKLCHoklch(66.35% 0.126 90.3)
XYZxyz(28.2164, 29.0982, 5.4966)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F20 #2042B1
analogous
#B14620 #B18F20 #8AB120
triadic
#B18F20 #20B18F #8F20B1
tetradic
#B18F20 #20B146 #2042B1 #B1208A
square
#B18F20 #20B146 #2042B1 #B1208A
split-complementary
#B18F20 #208AB1 #4620B1
monochromatic
#493B0D #7D6517 #B18F20 #DAB334 #E4C768

Accessibility & contrast

On white

3.08
#B18F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B18F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B18F20
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18F20#FFFFFF#000000##000000
##B18F201.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b18f20;
/* rgb */ color: rgb(177, 143, 32);
/* oklch */ color: oklch(66.4% 0.126 90.3);
Tailwind
colors: {
  custom: {
    50: '#cdaf66',
    500: '#b18f20',
    950: '#000000',
  },
}
SCSS
$custom: #b18f20;
$custom-light: #cdaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f20",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 45.931,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.12635,
    "h": 90.3
  },
  "luminance": 0.29096
}

Semantic roles & 50–950 ramp

primary
#B18F20
secondary
#647BC9
accent
#65EC3C
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B18F20

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

Preview Lab → · Contrast checker → · Palette generator →

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