#95791B#95791B

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

Color values

HEX#95791B
RGBrgb(149, 121, 27)
HSLhsl(46, 69%, 35%)
HSVhsv(46, 82%, 58%)
CMYKcmyk(0%, 18.8%, 81.9%, 41.6%)
CIE-LABlab(52.00, 1.44, 51.31)
CIE-LCHlch(52.00, 51.33, 88.39°)
OKLaboklab(58.68% -0.0018 0.111)
OKLCHoklch(58.68% 0.111 90.9)
XYZxyz(19.4308, 20.1447, 3.9016)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95791B #1B3795
analogous
#953C1B #95791B #74951B
triadic
#95791B #1B9579 #791B95
tetradic
#95791B #1B953C #1B3795 #951B74
square
#95791B #1B953C #1B3795 #951B74
split-complementary
#95791B #1B7495 #3C1B95
monochromatic
#2D2508 #614F12 #95791B #C9A324 #DFBD4C

Accessibility & contrast

On white

4.18
#95791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##95791B#FFFFFF#000000##000000
##95791B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887704
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#A26E67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #95791b;
/* rgb */ color: rgb(149, 121, 27);
/* oklch */ color: oklch(58.7% 0.111 90.9);
Tailwind
colors: {
  custom: {
    50: '#b89f60',
    500: '#95791b',
    950: '#000000',
  },
}
SCSS
$custom: #95791b;
$custom-light: #b89f60;
$custom-dark: #000000;
JSON
{
  "hex": "#95791b",
  "rgb": {
    "r": 149,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 46.23,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5868,
    "c": 0.111,
    "h": 90.9
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#95791B
secondary
#4B66C1
accent
#64EC3C
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #95791B

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

Preview Lab → · Contrast checker → · Palette generator →

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