#94791F#94791F

#94791F is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.6% C 0.109 H 91.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#94791F
RGBrgb(148, 121, 31)
HSLhsl(46, 65%, 35%)
HSVhsv(46, 79%, 58%)
CMYKcmyk(0%, 18.2%, 79.1%, 42%)
CIE-LABlab(51.92, 1.13, 49.77)
CIE-LCHlch(51.92, 49.78, 88.70°)
OKLaboklab(58.6% -0.0022 0.1086)
OKLCHoklch(58.6% 0.109 91.2)
XYZxyz(19.2986, 20.0708, 4.1536)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94791F #1F3A94
analogous
#943F1F #94791F #74941F
triadic
#94791F #1F9479 #791F94
tetradic
#94791F #1F943F #1F3A94 #941F74
square
#94791F #1F943F #1F3A94 #941F74
split-complementary
#94791F #1F7494 #3F1F94
monochromatic
#2F260A #615014 #94791F #C7A22A #DBBB53

Accessibility & contrast

On white

4.19
#94791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#94791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94791F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94791F#FFFFFF#000000##000000
##94791F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#A16E68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #94791f;
/* rgb */ color: rgb(148, 121, 31);
/* oklch */ color: oklch(58.6% 0.109 91.2);
Tailwind
colors: {
  custom: {
    50: '#b79f62',
    500: '#94791f',
    950: '#000000',
  },
}
SCSS
$custom: #94791f;
$custom-light: #b79f62;
$custom-dark: #000000;
JSON
{
  "hex": "#94791f",
  "rgb": {
    "r": 148,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 46.154,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.10864,
    "h": 91.2
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#94791F
secondary
#516ABE
accent
#66E83F
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #94791F

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

Preview Lab → · Contrast checker → · Palette generator →

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