#B18F24#B18F24

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

Color values

HEX#B18F24
RGBrgb(177, 143, 36)
HSLhsl(46, 66%, 42%)
HSVhsv(46, 80%, 69%)
CMYKcmyk(0%, 19.2%, 79.7%, 30.6%)
CIE-LABlab(60.89, 2.36, 57.31)
CIE-LCHlch(60.89, 57.36, 87.64°)
OKLaboklab(66.38% 0.0002 0.1244)
OKLCHoklch(66.38% 0.124 89.9)
XYZxyz(28.2741, 29.1213, 5.8005)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F24 #2446B1
analogous
#B14924 #B18F24 #8DB124
triadic
#B18F24 #24B18F #8F24B1
tetradic
#B18F24 #24B149 #2446B1 #B1248D
square
#B18F24 #24B149 #2446B1 #B1248D
split-complementary
#B18F24 #248DB1 #4924B1
monochromatic
#4B3D0F #7E661A #B18F24 #D7B23B #E1C66E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B18F24#FFFFFF#000000##000000
##B18F241.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)
#A08D0C
Deuteranopia (green-blind)
#A8972B
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b18f24;
/* rgb */ color: rgb(177, 143, 36);
/* oklch */ color: oklch(66.4% 0.124 89.9);
Tailwind
colors: {
  custom: {
    50: '#cdaf68',
    500: '#b18f24',
    950: '#000000',
  },
}
SCSS
$custom: #b18f24;
$custom-light: #cdaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f24",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 45.532,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66375,
    "c": 0.1244,
    "h": 89.9
  },
  "luminance": 0.29119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18F24

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

Preview Lab → · Contrast checker → · Palette generator →

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