#95831C#95831C

#95831C is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.117 H 98.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#95831C
RGBrgb(149, 131, 28)
HSLhsl(51, 68%, 35%)
HSVhsv(51, 81%, 58%)
CMYKcmyk(0%, 12.1%, 81.2%, 41.6%)
CIE-LABlab(54.77, -4.11, 53.44)
CIE-LCHlch(54.77, 53.59, 94.40°)
OKLaboklab(60.87% -0.0175 0.1158)
OKLCHoklch(60.87% 0.117 98.6)
XYZxyz(20.7214, 22.7071, 4.3898)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95831C #1C2E95
analogous
#95461C #95831C #6B951C
triadic
#95831C #1C9583 #831C95
tetradic
#95831C #1C9546 #1C2E95 #951C6B
square
#95831C #1C9546 #1C2E95 #951C6B
split-complementary
#95831C #1C6B95 #461C95
monochromatic
#2E2809 #615612 #95831C #C9B026 #DEC84E

Accessibility & contrast

On white

3.79
#95831C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#95831C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #95831C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95831C#FFFFFF#000000##000000
##95831C1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#A17870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #95831c;
/* rgb */ color: rgb(149, 131, 28);
/* oklch */ color: oklch(60.9% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#b8a662',
    500: '#95831c',
    950: '#000000',
  },
}
SCSS
$custom: #95831c;
$custom-light: #b8a662;
$custom-dark: #000000;
JSON
{
  "hex": "#95831c",
  "rgb": {
    "r": 149,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 51.074,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.11711,
    "h": 98.6
  },
  "luminance": 0.22706
}

Semantic roles & 50–950 ramp

primary
#95831C
secondary
#4D5EC0
accent
#57EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #95831C

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

Preview Lab → · Contrast checker → · Palette generator →

#95831C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva