#938F22#938F22

#938F22 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.4% C 0.125 H 107.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#938F22
RGBrgb(147, 143, 34)
HSLhsl(58, 62%, 35%)
HSVhsv(58, 77%, 58%)
CMYKcmyk(0%, 2.7%, 76.9%, 42.4%)
CIE-LABlab(58.00, -11.31, 54.30)
CIE-LCHlch(58.00, 55.47, 101.77°)
OKLaboklab(63.41% -0.037 0.119)
OKLCHoklch(63.41% 0.125 107.3)
XYZxyz(22.1447, 25.9642, 5.3582)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938F22 #222693
analogous
#935622 #938F22 #5E9322
triadic
#938F22 #22938F #8F2293
tetradic
#938F22 #229356 #222693 #93225E
square
#938F22 #229356 #222693 #93225E
split-complementary
#938F22 #225E93 #562293
monochromatic
#302E0B #615F17 #938F22 #C5BF2D #D8D457

Accessibility & contrast

On white

3.39
#938F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#938F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938F22
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938F22#FFFFFF#000000##000000
##938F221.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8908
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#9E857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938f22;
/* rgb */ color: rgb(147, 143, 34);
/* oklch */ color: oklch(63.4% 0.125 107.3);
Tailwind
colors: {
  custom: {
    50: '#b6af66',
    500: '#938f22',
    950: '#000000',
  },
}
SCSS
$custom: #938f22;
$custom-light: #b6af66;
$custom-dark: #000000;
JSON
{
  "hex": "#938f22",
  "rgb": {
    "r": 147,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 57.876,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.12459,
    "h": 107.3
  },
  "luminance": 0.25963
}

Semantic roles & 50–950 ramp

primary
#938F22
secondary
#5558BC
accent
#48E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938F22

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

Preview Lab → · Contrast checker → · Palette generator →

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