#94811B#94811B

#94811B is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.116 H 97.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#94811B
RGBrgb(148, 129, 27)
HSLhsl(51, 69%, 34%)
HSVhsv(51, 82%, 58%)
CMYKcmyk(0%, 12.8%, 81.8%, 42%)
CIE-LABlab(54.11, -3.50, 53.14)
CIE-LCHlch(54.11, 53.25, 93.77°)
OKLaboklab(60.32% -0.0158 0.115)
OKLCHoklch(60.32% 0.116 97.8)
XYZxyz(20.2619, 22.0766, 4.2307)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94811B #1B2E94
analogous
#94451B #94811B #6A941B
triadic
#94811B #1B9481 #811B94
tetradic
#94811B #1B9445 #1B2E94 #941B6A
square
#94811B #1B9445 #1B2E94 #941B6A
split-complementary
#94811B #1B6A94 #451B94
monochromatic
#2C2708 #605412 #94811B #C8AE24 #DEC74B

Accessibility & contrast

On white

3.88
#94811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#94811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94811B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94811B#FFFFFF#000000##000000
##94811B1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#A0766E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #94811b;
/* rgb */ color: rgb(148, 129, 27);
/* oklch */ color: oklch(60.3% 0.116 97.8);
Tailwind
colors: {
  custom: {
    50: '#b7a561',
    500: '#94811b',
    950: '#000000',
  },
}
SCSS
$custom: #94811b;
$custom-light: #b7a561;
$custom-dark: #000000;
JSON
{
  "hex": "#94811b",
  "rgb": {
    "r": 148,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 50.579,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.11607,
    "h": 97.8
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#94811B
secondary
#4B5DC0
accent
#57EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #94811B

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

Preview Lab → · Contrast checker → · Palette generator →

#94811B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva