#94802F#94802F

#94802F is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.3% C 0.102 H 95.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#94802F
RGBrgb(148, 128, 47)
HSLhsl(48, 52%, 38%)
HSVhsv(48, 68%, 58%)
CMYKcmyk(0%, 13.5%, 68.2%, 42%)
CIE-LABlab(53.96, -1.98, 45.17)
CIE-LCHlch(53.96, 45.22, 92.51°)
OKLaboklab(60.25% -0.0093 0.102)
OKLCHoklch(60.25% 0.102 95.2)
XYZxyz(20.4460, 21.9405, 5.8468)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94802F #2F4394
analogous
#944D2F #94802F #75942F
triadic
#94802F #2F9480 #802F94
tetradic
#94802F #2F944D #2F4394 #942F75
square
#94802F #2F944D #2F4394 #942F75
split-complementary
#94802F #2F7594 #4D2F94
monochromatic
#373011 #665820 #94802F #C2A83E #D1BD6D

Accessibility & contrast

On white

3.90
#94802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#94802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94802F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94802F#FFFFFF#000000##000000
##94802F1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D25
Deuteranopia (green-blind)
#928433
Tritanopia (blue-blind)
#A0766F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #94802f;
/* rgb */ color: rgb(148, 128, 47);
/* oklch */ color: oklch(60.3% 0.102 95.2);
Tailwind
colors: {
  custom: {
    50: '#b6a46c',
    500: '#94802f',
    950: '#000000',
  },
}
SCSS
$custom: #94802f;
$custom-light: #b6a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#94802f",
  "rgb": {
    "r": 148,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 48.119,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6025,
    "c": 0.10244,
    "h": 95.2
  },
  "luminance": 0.21939
}

Semantic roles & 50–950 ramp

primary
#94802F
secondary
#6777B8
accent
#69DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #94802F

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

Preview Lab → · Contrast checker → · Palette generator →

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