#94801F#94801F

#94801F is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.1% C 0.113 H 96.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#94801F
RGBrgb(148, 128, 31)
HSLhsl(50, 65%, 35%)
HSVhsv(50, 79%, 58%)
CMYKcmyk(0%, 13.5%, 79.1%, 42%)
CIE-LABlab(53.85, -2.79, 51.55)
CIE-LCHlch(53.85, 51.63, 93.10°)
OKLaboklab(60.12% -0.0134 0.1124)
OKLCHoklch(60.12% 0.113 96.8)
XYZxyz(20.1803, 21.8343, 4.4475)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94801F #1F3394
analogous
#94461F #94801F #6D941F
triadic
#94801F #1F9480 #801F94
tetradic
#94801F #1F9446 #1F3394 #941F6D
square
#94801F #1F9446 #1F3394 #941F6D
split-complementary
#94801F #1F6D94 #461F94
monochromatic
#2F280A #615414 #94801F #C7AC2A #DBC453

Accessibility & contrast

On white

3.91
#94801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#94801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94801F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94801F#FFFFFF#000000##000000
##94801F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#938326
Tritanopia (blue-blind)
#A0766E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #94801f;
/* rgb */ color: rgb(148, 128, 31);
/* oklch */ color: oklch(60.1% 0.113 96.8);
Tailwind
colors: {
  custom: {
    50: '#b7a463',
    500: '#94801f',
    950: '#000000',
  },
}
SCSS
$custom: #94801f;
$custom-light: #b7a463;
$custom-dark: #000000;
JSON
{
  "hex": "#94801f",
  "rgb": {
    "r": 148,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 49.744,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.11324,
    "h": 96.8
  },
  "luminance": 0.21833
}

Semantic roles & 50–950 ramp

primary
#94801F
secondary
#5163BE
accent
#5CE83F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94801F

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

Preview Lab → · Contrast checker → · Palette generator →

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