#B18F25#B18F25

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

Color values

HEX#B18F25
RGBrgb(177, 143, 37)
HSLhsl(45, 65%, 42%)
HSVhsv(45, 79%, 69%)
CMYKcmyk(0%, 19.2%, 79.1%, 30.6%)
CIE-LABlab(60.89, 2.40, 56.97)
CIE-LCHlch(60.89, 57.02, 87.59°)
OKLaboklab(66.38% 0.0004 0.1239)
OKLCHoklch(66.38% 0.124 89.8)
XYZxyz(28.2896, 29.1275, 5.8820)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F25 #2547B1
analogous
#B14925 #B18F25 #8DB125
triadic
#B18F25 #25B18F #8F25B1
tetradic
#B18F25 #25B149 #2547B1 #B1258D
square
#B18F25 #25B149 #2547B1 #B1258D
split-complementary
#B18F25 #258DB1 #4925B1
monochromatic
#4C3D10 #7E661A #B18F25 #D6B13D #E1C56F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b18f25;
/* rgb */ color: rgb(177, 143, 37);
/* oklch */ color: oklch(66.4% 0.124 89.8);
Tailwind
colors: {
  custom: {
    50: '#cdaf69',
    500: '#b18f25',
    950: '#000000',
  },
}
SCSS
$custom: #b18f25;
$custom-light: #cdaf69;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f25",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 45.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66381,
    "c": 0.12389,
    "h": 89.8
  },
  "luminance": 0.29126
}

Semantic roles & 50–950 ramp

primary
#B18F25
secondary
#6A81C8
accent
#68E83F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B18F25

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

Preview Lab → · Contrast checker → · Palette generator →

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