#94872E#94872E

#94872E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.109 H 100.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#94872E
RGBrgb(148, 135, 46)
HSLhsl(52, 53%, 38%)
HSVhsv(52, 69%, 58%)
CMYKcmyk(0%, 8.8%, 68.9%, 42%)
CIE-LABlab(55.91, -5.91, 47.63)
CIE-LCHlch(55.91, 48.00, 97.08°)
OKLaboklab(61.79% -0.0206 0.1071)
OKLCHoklch(61.79% 0.109 100.9)
XYZxyz(21.3708, 23.8220, 6.0567)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94872E #2E3B94
analogous
#94542E #94872E #6E942E
triadic
#94872E #2E9487 #872E94
tetradic
#94872E #2E9454 #2E3B94 #942E6E
square
#94872E #2E9454 #2E3B94 #942E6E
split-complementary
#94872E #2E6E94 #542E94
monochromatic
#373211 #655C1F #94872E #C3B23D #D1C46B

Accessibility & contrast

On white

3.64
#94872E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#94872E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94872E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94872E#FFFFFF#000000##000000
##94872E1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#9F7D75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #94872e;
/* rgb */ color: rgb(148, 135, 46);
/* oklch */ color: oklch(61.8% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#b6a96c',
    500: '#94872e',
    950: '#000000',
  },
}
SCSS
$custom: #94872e;
$custom-light: #b6a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#94872e",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 52.353,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.10902,
    "h": 100.9
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#94872E
secondary
#6670B8
accent
#5EDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #94872E

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

Preview Lab → · Contrast checker → · Palette generator →

#94872E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva