#95841F#95841F

#95841F is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.1% C 0.116 H 99.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#95841F
RGBrgb(149, 132, 31)
HSLhsl(51, 66%, 35%)
HSVhsv(51, 79%, 58%)
CMYKcmyk(0%, 11.4%, 79.2%, 41.6%)
CIE-LABlab(55.06, -4.55, 52.70)
CIE-LCHlch(55.06, 52.90, 94.93°)
OKLaboklab(61.11% -0.0184 0.1148)
OKLCHoklch(61.11% 0.116 99.1)
XYZxyz(20.8941, 22.9921, 4.6334)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95841F #1F3095
analogous
#95491F #95841F #6B951F
triadic
#95841F #1F9584 #841F95
tetradic
#95841F #1F9549 #1F3095 #951F6B
square
#95841F #1F9549 #1F3095 #951F6B
split-complementary
#95841F #1F6B95 #491F95
monochromatic
#302A0A #625714 #95841F #C8B12A #DBC853

Accessibility & contrast

On white

3.75
#95841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#95841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #95841F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95841F#FFFFFF#000000##000000
##95841F1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928007
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#A17A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #95841f;
/* rgb */ color: rgb(149, 132, 31);
/* oklch */ color: oklch(61.1% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#b8a764',
    500: '#95841f',
    950: '#000000',
  },
}
SCSS
$custom: #95841f;
$custom-light: #b8a764;
$custom-dark: #000000;
JSON
{
  "hex": "#95841f",
  "rgb": {
    "r": 149,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 51.356,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61109,
    "c": 0.11631,
    "h": 99.1
  },
  "luminance": 0.22991
}

Semantic roles & 50–950 ramp

primary
#95841F
secondary
#5161BF
accent
#58E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #95841F

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

Preview Lab → · Contrast checker → · Palette generator →

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