#94871F#94871F

#94871F is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.119 H 101.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#94871F
RGBrgb(148, 135, 31)
HSLhsl(53, 65%, 35%)
HSVhsv(53, 79%, 58%)
CMYKcmyk(0%, 8.8%, 79.1%, 42%)
CIE-LABlab(55.81, -6.66, 53.34)
CIE-LCHlch(55.81, 53.76, 97.11°)
OKLaboklab(61.68% -0.0243 0.1163)
OKLCHoklch(61.68% 0.119 101.8)
XYZxyz(21.1250, 23.7237, 4.7625)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94871F #1F2C94
analogous
#944C1F #94871F #67941F
triadic
#94871F #1F9487 #871F94
tetradic
#94871F #1F944C #1F2C94 #941F67
square
#94871F #1F944C #1F2C94 #941F67
split-complementary
#94871F #1F6794 #4C1F94
monochromatic
#2F2B0A #615914 #94871F #C7B52A #DBCC53

Accessibility & contrast

On white

3.66
#94871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#94871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94871F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94871F#FFFFFF#000000##000000
##94871F1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948305
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#A07D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #94871f;
/* rgb */ color: rgb(148, 135, 31);
/* oklch */ color: oklch(61.7% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#b7a964',
    500: '#94871f',
    950: '#000000',
  },
}
SCSS
$custom: #94871f;
$custom-light: #b7a964;
$custom-dark: #000000;
JSON
{
  "hex": "#94871f",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 53.333,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.11878,
    "h": 101.8
  },
  "luminance": 0.23723
}

Semantic roles & 50–950 ramp

primary
#94871F
secondary
#515DBE
accent
#52E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94871F

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

Preview Lab → · Contrast checker → · Palette generator →

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