#938822#938822

#938822 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.118 H 103.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#938822
RGBrgb(147, 136, 34)
HSLhsl(54, 62%, 35%)
HSVhsv(54, 77%, 58%)
CMYKcmyk(0%, 7.5%, 76.9%, 42.4%)
CIE-LABlab(56.02, -7.53, 52.46)
CIE-LCHlch(56.02, 52.99, 98.17°)
OKLaboklab(61.83% -0.0264 0.115)
OKLCHoklch(61.83% 0.118 103)
XYZxyz(21.1265, 23.9278, 5.0188)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938822 #222D93
analogous
#934F22 #938822 #659322
triadic
#938822 #229388 #882293
tetradic
#938822 #22934F #222D93 #932265
square
#938822 #22934F #222D93 #932265
split-complementary
#938822 #226593 #4F2293
monochromatic
#302C0B #615A17 #938822 #C5B62D #D8CC57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938822#FFFFFF#000000##000000
##9388221.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)
#95830D
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#9F7E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #938822;
/* rgb */ color: rgb(147, 136, 34);
/* oklch */ color: oklch(61.8% 0.118 103.0);
Tailwind
colors: {
  custom: {
    50: '#b6aa66',
    500: '#938822',
    950: '#000000',
  },
}
SCSS
$custom: #938822;
$custom-light: #b6aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#938822",
  "rgb": {
    "r": 147,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 54.159,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.11802,
    "h": 103
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#938822
secondary
#555FBC
accent
#52E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938822

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

Preview Lab → · Contrast checker → · Palette generator →

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