#94851F#94851F

#94851F is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.2% C 0.117 H 100.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#94851F
RGBrgb(148, 133, 31)
HSLhsl(52, 65%, 35%)
HSVhsv(52, 79%, 58%)
CMYKcmyk(0%, 10.1%, 79.1%, 42%)
CIE-LABlab(55.25, -5.56, 52.83)
CIE-LCHlch(55.25, 53.12, 96.01°)
OKLaboklab(61.23% -0.0212 0.1152)
OKLCHoklch(61.23% 0.117 100.4)
XYZxyz(20.8486, 23.1709, 4.6703)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94851F #1F2E94
analogous
#944B1F #94851F #68941F
triadic
#94851F #1F9485 #851F94
tetradic
#94851F #1F944B #1F2E94 #941F68
square
#94851F #1F944B #1F2E94 #941F68
split-complementary
#94851F #1F6894 #4B1F94
monochromatic
#2F2A0A #615814 #94851F #C7B22A #DBC953

Accessibility & contrast

On white

3.73
#94851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#94851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94851F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94851F#FFFFFF#000000##000000
##94851F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #94851f;
/* rgb */ color: rgb(148, 133, 31);
/* oklch */ color: oklch(61.2% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#b7a864',
    500: '#94851f',
    950: '#000000',
  },
}
SCSS
$custom: #94851f;
$custom-light: #b7a864;
$custom-dark: #000000;
JSON
{
  "hex": "#94851f",
  "rgb": {
    "r": 148,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 52.308,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.11711,
    "h": 100.4
  },
  "luminance": 0.2317
}

Semantic roles & 50–950 ramp

primary
#94851F
secondary
#515FBE
accent
#55E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94851F

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

Preview Lab → · Contrast checker → · Palette generator →

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