#B18E24#B18E24

#B18E24 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 66.2% C 0.124 H 89.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B18E24
RGBrgb(177, 142, 36)
HSLhsl(45, 66%, 42%)
HSVhsv(45, 80%, 69%)
CMYKcmyk(0%, 19.8%, 79.7%, 30.6%)
CIE-LABlab(60.62, 2.91, 57.07)
CIE-LCHlch(60.62, 57.15, 87.08°)
OKLaboklab(66.17% 0.0017 0.1239)
OKLCHoklch(66.17% 0.124 89.2)
XYZxyz(28.1246, 28.8224, 5.7507)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18E24 #2447B1
analogous
#B14724 #B18E24 #8EB124
triadic
#B18E24 #24B18E #8E24B1
tetradic
#B18E24 #24B147 #2447B1 #B1248E
square
#B18E24 #24B147 #2447B1 #B1248E
split-complementary
#B18E24 #248EB1 #4724B1
monochromatic
#4B3C0F #7E651A #B18E24 #D7B03B #E1C56E

Accessibility & contrast

On white

3.10
#B18E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B18E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B18E24
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18E24#FFFFFF#000000##000000
##B18E241.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0C
Deuteranopia (green-blind)
#A8962A
Tritanopia (blue-blind)
#C0817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b18e24;
/* rgb */ color: rgb(177, 142, 36);
/* oklch */ color: oklch(66.2% 0.124 89.2);
Tailwind
colors: {
  custom: {
    50: '#cdae68',
    500: '#b18e24',
    950: '#000000',
  },
}
SCSS
$custom: #b18e24;
$custom-light: #cdae68;
$custom-dark: #000000;
JSON
{
  "hex": "#b18e24",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 45.106,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.1239,
    "h": 89.2
  },
  "luminance": 0.2882
}

Semantic roles & 50–950 ramp

primary
#B18E24
secondary
#6980C8
accent
#69E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B18E24

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

Preview Lab → · Contrast checker → · Palette generator →

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