#95791C#95791C

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

Color values

HEX#95791C
RGBrgb(149, 121, 28)
HSLhsl(46, 68%, 35%)
HSVhsv(46, 81%, 58%)
CMYKcmyk(0%, 18.8%, 81.2%, 41.6%)
CIE-LABlab(52.01, 1.48, 50.97)
CIE-LCHlch(52.01, 50.99, 88.34°)
OKLaboklab(58.68% -0.0016 0.1105)
OKLCHoklch(58.68% 0.11 90.8)
XYZxyz(19.4426, 20.1494, 3.9636)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95791C #1C3895
analogous
#953D1C #95791C #74951C
triadic
#95791C #1C9579 #791C95
tetradic
#95791C #1C953D #1C3895 #951C74
square
#95791C #1C953D #1C3895 #951C74
split-complementary
#95791C #1C7495 #3D1C95
monochromatic
#2E2509 #614F12 #95791C #C9A326 #DEBC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##95791C#FFFFFF#000000##000000
##95791C1.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)
#887706
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#A26E68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #95791c;
/* rgb */ color: rgb(149, 121, 28);
/* oklch */ color: oklch(58.7% 0.110 90.8);
Tailwind
colors: {
  custom: {
    50: '#b89f61',
    500: '#95791c',
    950: '#000000',
  },
}
SCSS
$custom: #95791c;
$custom-light: #b89f61;
$custom-dark: #000000;
JSON
{
  "hex": "#95791c",
  "rgb": {
    "r": 149,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 46.116,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.11049,
    "h": 90.8
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#95791C
secondary
#4D67C0
accent
#65EB3D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #95791C

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

Preview Lab → · Contrast checker → · Palette generator →

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