#94872D#94872D

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

Color values

HEX#94872D
RGBrgb(148, 135, 45)
HSLhsl(52, 53%, 38%)
HSVhsv(52, 70%, 58%)
CMYKcmyk(0%, 8.8%, 69.6%, 42%)
CIE-LABlab(55.90, -5.97, 48.05)
CIE-LCHlch(55.90, 48.42, 97.08°)
OKLaboklab(61.78% -0.0209 0.1078)
OKLCHoklch(61.78% 0.11 101)
XYZxyz(21.3513, 23.8142, 5.9541)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94872D #2D3A94
analogous
#94532D #94872D #6D942D
triadic
#94872D #2D9487 #872D94
tetradic
#94872D #2D9453 #2D3A94 #942D6D
square
#94872D #2D9453 #2D3A94 #942D6D
split-complementary
#94872D #2D6D94 #532D94
monochromatic
#363110 #655C1F #94872D #C3B23B #D2C56A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##94872D#FFFFFF#000000##000000
##94872D1.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)
#948320
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#9F7D75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #94872d;
/* rgb */ color: rgb(148, 135, 45);
/* oklch */ color: oklch(61.8% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#b6a96b',
    500: '#94872d',
    950: '#000000',
  },
}
SCSS
$custom: #94872d;
$custom-light: #b6a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#94872d",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 52.427,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.10977,
    "h": 101
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#94872D
secondary
#646FB8
accent
#5DDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #94872D

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

Preview Lab → · Contrast checker → · Palette generator →

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