#938827#938827

#938827 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.115 H 102.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#938827
RGBrgb(147, 136, 39)
HSLhsl(54, 58%, 36%)
HSVhsv(54, 73%, 58%)
CMYKcmyk(0%, 7.5%, 73.5%, 42.4%)
CIE-LABlab(56.05, -7.30, 50.62)
CIE-LCHlch(56.05, 51.14, 98.20°)
OKLaboklab(61.86% -0.0253 0.1121)
OKLCHoklch(61.86% 0.115 102.7)
XYZxyz(21.2039, 23.9587, 5.4267)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938827 #273293
analogous
#935227 #938827 #689327
triadic
#938827 #279388 #882793
tetradic
#938827 #279352 #273293 #932768
square
#938827 #279352 #273293 #932768
split-complementary
#938827 #276893 #522793
monochromatic
#322F0D #635B1A #938827 #C3B534 #D5C960

Accessibility & contrast

On white

3.63
#938827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#938827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938827
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938827#FFFFFF#000000##000000
##9388271.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#9E7E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #938827;
/* rgb */ color: rgb(147, 136, 39);
/* oklch */ color: oklch(61.9% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#b6aa68',
    500: '#938827',
    950: '#000000',
  },
}
SCSS
$custom: #938827;
$custom-light: #b6aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#938827",
  "rgb": {
    "r": 147,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 53.889,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.11491,
    "h": 102.7
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

primary
#938827
secondary
#5C65BA
accent
#56E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938827

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

Preview Lab → · Contrast checker → · Palette generator →

#938827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva