#B18E22#B18E22

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

Color values

HEX#B18E22
RGBrgb(177, 142, 34)
HSLhsl(45, 68%, 41%)
HSVhsv(45, 81%, 69%)
CMYKcmyk(0%, 19.8%, 80.8%, 30.6%)
CIE-LABlab(60.61, 2.84, 57.74)
CIE-LCHlch(60.61, 57.81, 87.19°)
OKLaboklab(66.16% 0.0013 0.1249)
OKLCHoklch(66.16% 0.125 89.4)
XYZxyz(28.0949, 28.8105, 5.5943)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B18E22 #2245B1
analogous
#B14722 #B18E22 #8DB122
triadic
#B18E22 #22B18E #8E22B1
tetradic
#B18E22 #22B147 #2245B1 #B1228D
square
#B18E22 #22B147 #2245B1 #B1228D
split-complementary
#B18E22 #228DB1 #4722B1
monochromatic
#4A3C0E #7E6518 #B18E22 #D9B138 #E3C56B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B18E22#FFFFFF#000000##000000
##B18E221.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)
#9F8D07
Deuteranopia (green-blind)
#A89629
Tritanopia (blue-blind)
#C0817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b18e22;
/* rgb */ color: rgb(177, 142, 34);
/* oklch */ color: oklch(66.2% 0.125 89.4);
Tailwind
colors: {
  custom: {
    50: '#cdae67',
    500: '#b18e22',
    950: '#000000',
  },
}
SCSS
$custom: #b18e22;
$custom-light: #cdae67;
$custom-dark: #000000;
JSON
{
  "hex": "#b18e22",
  "rgb": {
    "r": 177,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 45.315,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66156,
    "c": 0.1249,
    "h": 89.4
  },
  "luminance": 0.28809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B18E22

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

Preview Lab → · Contrast checker → · Palette generator →

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