#B18E23#B18E23

#B18E23 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 66.2% C 0.124 H 89.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B18E23
RGBrgb(177, 142, 35)
HSLhsl(45, 67%, 42%)
HSVhsv(45, 80%, 69%)
CMYKcmyk(0%, 19.8%, 80.2%, 30.6%)
CIE-LABlab(60.62, 2.87, 57.41)
CIE-LCHlch(60.62, 57.48, 87.14°)
OKLaboklab(66.16% 0.0015 0.1244)
OKLCHoklch(66.16% 0.124 89.3)
XYZxyz(28.1096, 28.8163, 5.6714)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18E23 #2346B1
analogous
#B14723 #B18E23 #8DB123
triadic
#B18E23 #23B18E #8E23B1
tetradic
#B18E23 #23B147 #2346B1 #B1238D
square
#B18E23 #23B147 #2346B1 #B1238D
split-complementary
#B18E23 #238DB1 #4723B1
monochromatic
#4B3C0F #7E6519 #B18E23 #D8B139 #E2C56C

Accessibility & contrast

On white

3.11
#B18E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B18E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B18E23
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B18E23#FFFFFF#000000##000000
##B18E231.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0A
Deuteranopia (green-blind)
#A8962A
Tritanopia (blue-blind)
#C0817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b18e23;
/* rgb */ color: rgb(177, 142, 35);
/* oklch */ color: oklch(66.2% 0.124 89.3);
Tailwind
colors: {
  custom: {
    50: '#cdae68',
    500: '#b18e23',
    950: '#000000',
  },
}
SCSS
$custom: #b18e23;
$custom-light: #cdae68;
$custom-dark: #000000;
JSON
{
  "hex": "#b18e23",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 45.211,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66161,
    "c": 0.12441,
    "h": 89.3
  },
  "luminance": 0.28814
}

Semantic roles & 50–950 ramp

primary
#B18E23
secondary
#687FC8
accent
#68EA3E
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #B18E23

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

Preview Lab → · Contrast checker → · Palette generator →

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