#938C22#938C22

#938C22 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.122 H 105.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#938C22
RGBrgb(147, 140, 34)
HSLhsl(56, 62%, 35%)
HSVhsv(56, 77%, 58%)
CMYKcmyk(0%, 4.8%, 76.9%, 42.4%)
CIE-LABlab(57.15, -9.70, 53.51)
CIE-LCHlch(57.15, 54.38, 100.28°)
OKLaboklab(62.73% -0.0325 0.1173)
OKLCHoklch(62.73% 0.122 105.5)
XYZxyz(21.7004, 25.0755, 5.2101)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938C22 #222993
analogous
#935322 #938C22 #619322
triadic
#938C22 #22938C #8C2293
tetradic
#938C22 #229353 #222993 #932261
square
#938C22 #229353 #222993 #932261
split-complementary
#938C22 #226193 #532293
monochromatic
#302D0B #615D17 #938C22 #C5BB2D #D8D057

Accessibility & contrast

On white

3.49
#938C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#938C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938C22
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938C22#FFFFFF#000000##000000
##938C221.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#9E8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #938c22;
/* rgb */ color: rgb(147, 140, 34);
/* oklch */ color: oklch(62.7% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#b6ad66',
    500: '#938c22',
    950: '#000000',
  },
}
SCSS
$custom: #938c22;
$custom-light: #b6ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#938c22",
  "rgb": {
    "r": 147,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 56.283,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.12169,
    "h": 105.5
  },
  "luminance": 0.25075
}

Semantic roles & 50–950 ramp

primary
#938C22
secondary
#555BBC
accent
#4CE542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938C22

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

Preview Lab → · Contrast checker → · Palette generator →

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