#B48E18#B48E18

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

Color values

HEX#B48E18
RGBrgb(180, 142, 24)
HSLhsl(45, 76%, 40%)
HSVhsv(45, 87%, 71%)
CMYKcmyk(0%, 21.1%, 86.7%, 29.4%)
CIE-LABlab(60.88, 3.89, 61.06)
CIE-LCHlch(60.88, 61.19, 86.35°)
OKLaboklab(66.43% 0.0033 0.1298)
OKLCHoklch(66.43% 0.13 88.5)
XYZxyz(28.6621, 29.1173, 4.9746)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48E18 #183EB4
analogous
#B44018 #B48E18 #8CB418
triadic
#B48E18 #18B48E #8E18B4
tetradic
#B48E18 #18B440 #183EB4 #B4188C
square
#B48E18 #18B440 #183EB4 #B4188C
split-complementary
#B48E18 #188CB4 #4018B4
monochromatic
#48390A #7E6311 #B48E18 #E2B527 #E9C75D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48E18#FFFFFF#000000##000000
##B48E181.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)
#A08D00
Deuteranopia (green-blind)
#A99721
Tritanopia (blue-blind)
#C48079
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b48e18;
/* rgb */ color: rgb(180, 142, 24);
/* oklch */ color: oklch(66.4% 0.130 88.5);
Tailwind
colors: {
  custom: {
    50: '#cfae63',
    500: '#b48e18',
    950: '#000000',
  },
}
SCSS
$custom: #b48e18;
$custom-light: #cfae63;
$custom-dark: #000000;
JSON
{
  "hex": "#b48e18",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 45.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.66427,
    "c": 0.12985,
    "h": 88.5
  },
  "luminance": 0.29115
}

Semantic roles & 50–950 ramp

primary
#B48E18
secondary
#5B76CD
accent
#63F335
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B48E18

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

Preview Lab → · Contrast checker → · Palette generator →

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