#B18F27#B18F27

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

Color values

HEX#B18F27
RGBrgb(177, 143, 39)
HSLhsl(45, 64%, 42%)
HSVhsv(45, 78%, 69%)
CMYKcmyk(0%, 19.2%, 78%, 30.6%)
CIE-LABlab(60.91, 2.47, 56.27)
CIE-LCHlch(60.91, 56.32, 87.48°)
OKLaboklab(66.39% 0.0008 0.1228)
OKLCHoklch(66.39% 0.123 89.6)
XYZxyz(28.3218, 29.1404, 6.0520)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F27 #2749B1
analogous
#B14A27 #B18F27 #8EB127
triadic
#B18F27 #27B18F #8F27B1
tetradic
#B18F27 #27B14A #2749B1 #B1278E
square
#B18F27 #27B14A #2749B1 #B1278E
split-complementary
#B18F27 #278EB1 #4A27B1
monochromatic
#4D3E11 #7F661C #B18F27 #D5B040 #E0C572

Accessibility & contrast

On white

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

On black

6.83
#B18F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B18F27
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18F27#FFFFFF#000000##000000
##B18F271.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b18f27;
/* rgb */ color: rgb(177, 143, 39);
/* oklch */ color: oklch(66.4% 0.123 89.6);
Tailwind
colors: {
  custom: {
    50: '#cdaf6a',
    500: '#b18f27',
    950: '#000000',
  },
}
SCSS
$custom: #b18f27;
$custom-light: #cdaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f27",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 45.217,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.12281,
    "h": 89.6
  },
  "luminance": 0.29139
}

Semantic roles & 50–950 ramp

primary
#B18F27
secondary
#6D83C7
accent
#6AE741
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B18F27

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

Preview Lab → · Contrast checker → · Palette generator →

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