#94831C#94831C

#94831C 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#94831C
RGBrgb(148, 131, 28)
HSLhsl(52, 68%, 35%)
HSVhsv(52, 81%, 58%)
CMYKcmyk(0%, 11.5%, 81.1%, 42%)
CIE-LABlab(54.67, -4.57, 53.31)
CIE-LCHlch(54.67, 53.51, 94.90°)
OKLaboklab(60.77% -0.0187 0.1156)
OKLCHoklch(60.77% 0.117 99.2)
XYZxyz(20.5397, 22.6134, 4.3813)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94831C #1C2D94
analogous
#94471C #94831C #69941C
triadic
#94831C #1C9483 #831C94
tetradic
#94831C #1C9447 #1C2D94 #941C69
square
#94831C #1C9447 #1C2D94 #941C69
split-complementary
#94831C #1C6994 #471C94
monochromatic
#2D2809 #615512 #94831C #C7B126 #DDC94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##94831C#FFFFFF#000000##000000
##94831C1.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)
#917F00
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #94831c;
/* rgb */ color: rgb(148, 131, 28);
/* oklch */ color: oklch(60.8% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#b7a662',
    500: '#94831c',
    950: '#000000',
  },
}
SCSS
$custom: #94831c;
$custom-light: #b7a662;
$custom-dark: #000000;
JSON
{
  "hex": "#94831c",
  "rgb": {
    "r": 148,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 51.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.11709,
    "h": 99.2
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

primary
#94831C
secondary
#4C5CC0
accent
#55EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94831C

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

Preview Lab → · Contrast checker → · Palette generator →

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