#938022#938022

#938022 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.111 H 97.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#938022
RGBrgb(147, 128, 34)
HSLhsl(50, 62%, 35%)
HSVhsv(50, 77%, 58%)
CMYKcmyk(0%, 12.9%, 76.9%, 42.4%)
CIE-LABlab(53.77, -3.13, 50.35)
CIE-LCHlch(53.77, 50.45, 93.56°)
OKLaboklab(60.04% -0.014 0.1105)
OKLCHoklch(60.04% 0.111 97.2)
XYZxyz(20.0416, 21.7579, 4.6571)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938022 #223593
analogous
#934822 #938022 #6D9322
triadic
#938022 #229380 #802293
tetradic
#938022 #229348 #223593 #93226D
square
#938022 #229348 #223593 #93226D
split-complementary
#938022 #226D93 #482293
monochromatic
#30290B #615517 #938022 #C5AB2D #D8C357

Accessibility & contrast

On white

3.92
#938022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#938022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938022
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938022#FFFFFF#000000##000000
##9380221.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#9F766E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #938022;
/* rgb */ color: rgb(147, 128, 34);
/* oklch */ color: oklch(60.0% 0.111 97.2);
Tailwind
colors: {
  custom: {
    50: '#b6a465',
    500: '#938022',
    950: '#000000',
  },
}
SCSS
$custom: #938022;
$custom-light: #b6a465;
$custom-dark: #000000;
JSON
{
  "hex": "#938022",
  "rgb": {
    "r": 147,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 49.912,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.11142,
    "h": 97.2
  },
  "luminance": 0.21757
}

Semantic roles & 50–950 ramp

primary
#938022
secondary
#5566BC
accent
#5EE542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938022

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

Preview Lab → · Contrast checker → · Palette generator →

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