#938E22#938E22

#938E22 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.124 H 106.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#938E22
RGBrgb(147, 142, 34)
HSLhsl(57, 62%, 35%)
HSVhsv(57, 77%, 58%)
CMYKcmyk(0%, 3.4%, 76.9%, 42.4%)
CIE-LABlab(57.72, -10.78, 54.04)
CIE-LCHlch(57.72, 55.10, 101.28°)
OKLaboklab(63.18% -0.0355 0.1184)
OKLCHoklch(63.18% 0.124 106.7)
XYZxyz(21.9953, 25.6653, 5.3084)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E22 #222793
analogous
#935522 #938E22 #5F9322
triadic
#938E22 #22938E #8E2293
tetradic
#938E22 #229355 #222793 #93225F
square
#938E22 #229355 #222793 #93225F
split-complementary
#938E22 #225F93 #552293
monochromatic
#302E0B #615E17 #938E22 #C5BE2D #D8D257

Accessibility & contrast

On white

3.42
#938E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#938E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938E22
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938E22#FFFFFF#000000##000000
##938E221.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8809
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938e22;
/* rgb */ color: rgb(147, 142, 34);
/* oklch */ color: oklch(63.2% 0.124 106.7);
Tailwind
colors: {
  custom: {
    50: '#b6ae66',
    500: '#938e22',
    950: '#000000',
  },
}
SCSS
$custom: #938e22;
$custom-light: #b6ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#938e22",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 57.345,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63181,
    "c": 0.12361,
    "h": 106.7
  },
  "luminance": 0.25665
}

Semantic roles & 50–950 ramp

primary
#938E22
secondary
#5559BC
accent
#4AE542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938E22

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

Preview Lab → · Contrast checker → · Palette generator →

#938E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva