#94841F#94841F

#94841F is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.0% C 0.116 H 99.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#94841F
RGBrgb(148, 132, 31)
HSLhsl(52, 65%, 35%)
HSVhsv(52, 79%, 58%)
CMYKcmyk(0%, 10.8%, 79.1%, 42%)
CIE-LABlab(54.97, -5.01, 52.58)
CIE-LCHlch(54.97, 52.81, 95.44°)
OKLaboklab(61.01% -0.0197 0.1146)
OKLCHoklch(61.01% 0.116 99.7)
XYZxyz(20.7124, 22.8984, 4.6249)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94841F #1F2F94
analogous
#944A1F #94841F #69941F
triadic
#94841F #1F9484 #841F94
tetradic
#94841F #1F944A #1F2F94 #941F69
square
#94841F #1F944A #1F2F94 #941F69
split-complementary
#94841F #1F6994 #4A1F94
monochromatic
#2F2A0A #615714 #94841F #C7B12A #DBC853

Accessibility & contrast

On white

3.76
#94841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#94841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94841F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94841F#FFFFFF#000000##000000
##94841F1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#A07A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #94841f;
/* rgb */ color: rgb(148, 132, 31);
/* oklch */ color: oklch(61.0% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#b7a764',
    500: '#94841f',
    950: '#000000',
  },
}
SCSS
$custom: #94841f;
$custom-light: #b7a764;
$custom-dark: #000000;
JSON
{
  "hex": "#94841f",
  "rgb": {
    "r": 148,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 51.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.1163,
    "h": 99.7
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

primary
#94841F
secondary
#5160BE
accent
#57E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94841F

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

Preview Lab → · Contrast checker → · Palette generator →

#94841F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva