#B18F26#B18F26

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

Color values

HEX#B18F26
RGBrgb(177, 143, 38)
HSLhsl(45, 65%, 42%)
HSVhsv(45, 79%, 69%)
CMYKcmyk(0%, 19.2%, 78.5%, 30.6%)
CIE-LABlab(60.90, 2.43, 56.62)
CIE-LCHlch(60.90, 56.67, 87.54°)
OKLaboklab(66.39% 0.0006 0.1234)
OKLCHoklch(66.39% 0.123 89.7)
XYZxyz(28.3055, 29.1338, 5.9659)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F26 #2648B1
analogous
#B14A26 #B18F26 #8DB126
triadic
#B18F26 #26B18F #8F26B1
tetradic
#B18F26 #26B14A #2648B1 #B1268D
square
#B18F26 #26B14A #2648B1 #B1268D
split-complementary
#B18F26 #268DB1 #4A26B1
monochromatic
#4C3E10 #7F661B #B18F26 #D6B13F #E0C571

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B18F26#FFFFFF#000000##000000
##B18F261.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)
#A08D11
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b18f26;
/* rgb */ color: rgb(177, 143, 38);
/* oklch */ color: oklch(66.4% 0.123 89.7);
Tailwind
colors: {
  custom: {
    50: '#cdaf69',
    500: '#b18f26',
    950: '#000000',
  },
}
SCSS
$custom: #b18f26;
$custom-light: #cdaf69;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f26",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 45.324,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.12335,
    "h": 89.7
  },
  "luminance": 0.29132
}

Semantic roles & 50–950 ramp

primary
#B18F26
secondary
#6B82C7
accent
#69E840
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B18F26

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

Preview Lab → · Contrast checker → · Palette generator →

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