#938D22#938D22

#938D22 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.123 H 106.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#938D22
RGBrgb(147, 141, 34)
HSLhsl(57, 62%, 35%)
HSVhsv(57, 77%, 58%)
CMYKcmyk(0%, 4.1%, 76.9%, 42.4%)
CIE-LABlab(57.43, -10.24, 53.77)
CIE-LCHlch(57.43, 54.74, 100.78°)
OKLaboklab(62.95% -0.034 0.1178)
OKLCHoklch(62.95% 0.123 106.1)
XYZxyz(21.8471, 25.3691, 5.2590)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D22 #222893
analogous
#935422 #938D22 #609322
triadic
#938D22 #22938D #8D2293
tetradic
#938D22 #229354 #222893 #932260
square
#938D22 #229354 #222893 #932260
split-complementary
#938D22 #226093 #542293
monochromatic
#302E0B #615D17 #938D22 #C5BD2D #D8D157

Accessibility & contrast

On white

3.46
#938D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#938D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938D22
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938D22#FFFFFF#000000##000000
##938D221.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#9E8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #938d22;
/* rgb */ color: rgb(147, 141, 34);
/* oklch */ color: oklch(63.0% 0.123 106.1);
Tailwind
colors: {
  custom: {
    50: '#b6ae66',
    500: '#938d22',
    950: '#000000',
  },
}
SCSS
$custom: #938d22;
$custom-light: #b6ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#938d22",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 56.814,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62954,
    "c": 0.12264,
    "h": 106.1
  },
  "luminance": 0.25368
}

Semantic roles & 50–950 ramp

primary
#938D22
secondary
#555ABC
accent
#4BE542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938D22

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

Preview Lab → · Contrast checker → · Palette generator →

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