#B18F22#B18F22

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

Color values

HEX#B18F22
RGBrgb(177, 143, 34)
HSLhsl(46, 68%, 41%)
HSVhsv(46, 81%, 69%)
CMYKcmyk(0%, 19.2%, 80.8%, 30.6%)
CIE-LABlab(60.88, 2.29, 57.98)
CIE-LCHlch(60.88, 58.02, 87.74°)
OKLaboklab(66.36% -0.0002 0.1254)
OKLCHoklch(66.36% 0.125 90.1)
XYZxyz(28.2444, 29.1094, 5.6441)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18F22 #2244B1
analogous
#B14722 #B18F22 #8CB122
triadic
#B18F22 #22B18F #8F22B1
tetradic
#B18F22 #22B147 #2244B1 #B1228C
square
#B18F22 #22B147 #2244B1 #B1228C
split-complementary
#B18F22 #228CB1 #4722B1
monochromatic
#4A3C0E #7E6618 #B18F22 #D9B238 #E3C66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B18F22#FFFFFF#000000##000000
##B18F221.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)
#A08D06
Deuteranopia (green-blind)
#A99729
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b18f22;
/* rgb */ color: rgb(177, 143, 34);
/* oklch */ color: oklch(66.4% 0.125 90.1);
Tailwind
colors: {
  custom: {
    50: '#cdaf67',
    500: '#b18f22',
    950: '#000000',
  },
}
SCSS
$custom: #b18f22;
$custom-light: #cdaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#b18f22",
  "rgb": {
    "r": 177,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 45.734,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66364,
    "c": 0.1254,
    "h": 90.1
  },
  "luminance": 0.29108
}

Semantic roles & 50–950 ramp

primary
#B18F22
secondary
#667EC9
accent
#66EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #B18F22

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

Preview Lab → · Contrast checker → · Palette generator →

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