#B18F23#B18F23

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

Color values

HEX#B18F23
RGBrgb(177, 143, 35)
HSLhsl(46, 67%, 42%)
HSVhsv(46, 80%, 69%)
CMYKcmyk(0%, 19.2%, 80.2%, 30.6%)
CIE-LABlab(60.88, 2.32, 57.65)
CIE-LCHlch(60.88, 57.69, 87.69°)
OKLaboklab(66.37% 0 0.1249)
OKLCHoklch(66.37% 0.125 90)
XYZxyz(28.2590, 29.1152, 5.7212)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F23 #2345B1
analogous
#B14823 #B18F23 #8CB123
triadic
#B18F23 #23B18F #8F23B1
tetradic
#B18F23 #23B148 #2345B1 #B1238C
square
#B18F23 #23B148 #2345B1 #B1238C
split-complementary
#B18F23 #238CB1 #4823B1
monochromatic
#4B3C0F #7E6619 #B18F23 #D8B239 #E2C66C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B18F23#FFFFFF#000000##000000
##B18F231.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)
#A08D09
Deuteranopia (green-blind)
#A8972A
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b18f23;
/* rgb */ color: rgb(177, 143, 35);
/* oklch */ color: oklch(66.4% 0.125 90.0);
Tailwind
colors: {
  custom: {
    50: '#cdaf68',
    500: '#b18f23',
    950: '#000000',
  },
}
SCSS
$custom: #b18f23;
$custom-light: #cdaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f23",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 45.634,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66369,
    "c": 0.12491,
    "h": 90
  },
  "luminance": 0.29113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18F23

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

Preview Lab → · Contrast checker → · Palette generator →

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