#94871E#94871E

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

Color values

HEX#94871E
RGBrgb(148, 135, 30)
HSLhsl(53, 66%, 35%)
HSVhsv(53, 80%, 58%)
CMYKcmyk(0%, 8.8%, 79.7%, 42%)
CIE-LABlab(55.80, -6.70, 53.67)
CIE-LCHlch(55.80, 54.09, 97.11°)
OKLaboklab(61.67% -0.0245 0.1168)
OKLCHoklch(61.67% 0.119 101.9)
XYZxyz(21.1121, 23.7186, 4.6941)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94871E #1E2B94
analogous
#944C1E #94871E #66941E
triadic
#94871E #1E9487 #871E94
tetradic
#94871E #1E944C #1E2B94 #941E66
square
#94871E #1E944C #1E2B94 #941E66
split-complementary
#94871E #1E6694 #4C1E94
monochromatic
#2E2A09 #615914 #94871E #C7B528 #DCCC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##94871E#FFFFFF#000000##000000
##94871E1.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)
#948303
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#A07D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #94871e;
/* rgb */ color: rgb(148, 135, 30);
/* oklch */ color: oklch(61.7% 0.119 101.9);
Tailwind
colors: {
  custom: {
    50: '#b7a964',
    500: '#94871e',
    950: '#000000',
  },
}
SCSS
$custom: #94871e;
$custom-light: #b7a964;
$custom-dark: #000000;
JSON
{
  "hex": "#94871e",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 53.39,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61673,
    "c": 0.11932,
    "h": 101.9
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

primary
#94871E
secondary
#4F5BBF
accent
#51E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94871E

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

Preview Lab → · Contrast checker → · Palette generator →

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