#94872F#94872F

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

Color values

HEX#94872F
RGBrgb(148, 135, 47)
HSLhsl(52, 52%, 38%)
HSVhsv(52, 68%, 58%)
CMYKcmyk(0%, 8.8%, 68.2%, 42%)
CIE-LABlab(55.92, -5.85, 47.21)
CIE-LCHlch(55.92, 47.57, 97.07°)
OKLaboklab(61.8% -0.0203 0.1063)
OKLCHoklch(61.8% 0.108 100.8)
XYZxyz(21.3907, 23.8300, 6.1617)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94872F #2F3C94
analogous
#94542F #94872F #6E942F
triadic
#94872F #2F9487 #872F94
tetradic
#94872F #2F9454 #2F3C94 #942F6E
square
#94872F #2F9454 #2F3C94 #942F6E
split-complementary
#94872F #2F6E94 #542F94
monochromatic
#373211 #665D20 #94872F #C2B13E #D1C46D

Accessibility & contrast

On white

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

On black

5.77
#94872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94872F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94872F#FFFFFF#000000##000000
##94872F1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #94872f;
/* rgb */ color: rgb(148, 135, 47);
/* oklch */ color: oklch(61.8% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#b6a96c',
    500: '#94872f',
    950: '#000000',
  },
}
SCSS
$custom: #94872f;
$custom-light: #b6a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#94872f",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 52.277,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.10826,
    "h": 100.8
  },
  "luminance": 0.23829
}

Semantic roles & 50–950 ramp

primary
#94872F
secondary
#6771B8
accent
#5FDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #94872F

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

Preview Lab → · Contrast checker → · Palette generator →

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