#94831D#94831D

#94831D is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.117 H 99.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#94831D
RGBrgb(148, 131, 29)
HSLhsl(51, 67%, 35%)
HSVhsv(51, 80%, 58%)
CMYKcmyk(0%, 11.5%, 80.4%, 42%)
CIE-LABlab(54.68, -4.54, 52.99)
CIE-LCHlch(54.68, 53.18, 94.89°)
OKLaboklab(60.78% -0.0185 0.1151)
OKLCHoklch(60.78% 0.117 99.2)
XYZxyz(20.5519, 22.6183, 4.4454)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94831D #1D2E94
analogous
#94481D #94831D #69941D
triadic
#94831D #1D9483 #831D94
tetradic
#94831D #1D9448 #1D2E94 #941D69
square
#94831D #1D9448 #1D2E94 #941D69
split-complementary
#94831D #1D6994 #481D94
monochromatic
#2E2809 #615613 #94831D #C7B027 #DCC84F

Accessibility & contrast

On white

3.80
#94831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#94831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94831D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94831D#FFFFFF#000000##000000
##94831D1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F03
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #94831d;
/* rgb */ color: rgb(148, 131, 29);
/* oklch */ color: oklch(60.8% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#b7a663',
    500: '#94831d',
    950: '#000000',
  },
}
SCSS
$custom: #94831d;
$custom-light: #b7a663;
$custom-dark: #000000;
JSON
{
  "hex": "#94831d",
  "rgb": {
    "r": 148,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 51.429,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.11657,
    "h": 99.2
  },
  "luminance": 0.22617
}

Semantic roles & 50–950 ramp

primary
#94831D
secondary
#4E5EBF
accent
#56EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94831D

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

Preview Lab → · Contrast checker → · Palette generator →

#94831D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva