#95791F#95791F

#95791F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.7% C 0.109 H 90.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#95791F
RGBrgb(149, 121, 31)
HSLhsl(46, 66%, 35%)
HSVhsv(46, 79%, 58%)
CMYKcmyk(0%, 18.8%, 79.2%, 41.6%)
CIE-LABlab(52.02, 1.60, 49.91)
CIE-LCHlch(52.02, 49.93, 88.17°)
OKLaboklab(58.7% -0.001 0.1089)
OKLCHoklch(58.7% 0.109 90.5)
XYZxyz(19.4803, 20.1645, 4.1622)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95791F #1F3B95
analogous
#953E1F #95791F #76951F
triadic
#95791F #1F9579 #791F95
tetradic
#95791F #1F953E #1F3B95 #951F76
square
#95791F #1F953E #1F3B95 #951F76
split-complementary
#95791F #1F7695 #3E1F95
monochromatic
#30270A #625014 #95791F #C8A22A #DBBB53

Accessibility & contrast

On white

4.17
#95791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#95791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #95791F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95791F#FFFFFF#000000##000000
##95791F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #95791f;
/* rgb */ color: rgb(149, 121, 31);
/* oklch */ color: oklch(58.7% 0.109 90.5);
Tailwind
colors: {
  custom: {
    50: '#b89f62',
    500: '#95791f',
    950: '#000000',
  },
}
SCSS
$custom: #95791f;
$custom-light: #b89f62;
$custom-dark: #000000;
JSON
{
  "hex": "#95791f",
  "rgb": {
    "r": 149,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 45.763,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.10886,
    "h": 90.5
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#95791F
secondary
#516BBF
accent
#67E93F
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #95791F

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

Preview Lab → · Contrast checker → · Palette generator →

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