#B18F28#B18F28

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

Color values

HEX#B18F28
RGBrgb(177, 143, 40)
HSLhsl(45, 63%, 43%)
HSVhsv(45, 77%, 69%)
CMYKcmyk(0%, 19.2%, 77.4%, 30.6%)
CIE-LABlab(60.91, 2.51, 55.91)
CIE-LCHlch(60.91, 55.97, 87.42°)
OKLaboklab(66.4% 0.001 0.1223)
OKLCHoklch(66.4% 0.122 89.5)
XYZxyz(28.3386, 29.1471, 6.1404)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F28 #284AB1
analogous
#B14A28 #B18F28 #8FB128
triadic
#B18F28 #28B18F #8F28B1
tetradic
#B18F28 #28B14A #284AB1 #B1288F
square
#B18F28 #28B14A #284AB1 #B1288F
split-complementary
#B18F28 #288FB1 #4A28B1
monochromatic
#4D3E11 #7F671D #B18F28 #D4B042 #E0C574

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B18F28#FFFFFF#000000##000000
##B18F281.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)
#A08D15
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b18f28;
/* rgb */ color: rgb(177, 143, 40);
/* oklch */ color: oklch(66.4% 0.122 89.5);
Tailwind
colors: {
  custom: {
    50: '#cdaf6a',
    500: '#b18f28',
    950: '#000000',
  },
}
SCSS
$custom: #b18f28;
$custom-light: #cdaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f28",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 45.109,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.664,
    "c": 0.12225,
    "h": 89.5
  },
  "luminance": 0.29145
}

Semantic roles & 50–950 ramp

primary
#B18F28
secondary
#6E84C7
accent
#6AE642
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B18F28

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

Preview Lab → · Contrast checker → · Palette generator →

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