#938D2F#938D2F

#938D2F is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.114 H 105.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#938D2F
RGBrgb(147, 141, 47)
HSLhsl(56, 52%, 38%)
HSVhsv(56, 68%, 58%)
CMYKcmyk(0%, 4.1%, 68%, 42.4%)
CIE-LABlab(57.52, -9.57, 48.83)
CIE-LCHlch(57.52, 49.76, 101.09°)
OKLaboklab(63.05% -0.0308 0.1098)
OKLCHoklch(63.05% 0.114 105.7)
XYZxyz(22.0714, 25.4588, 6.4402)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D2F #2F3593
analogous
#935B2F #938D2F #67932F
triadic
#938D2F #2F938D #8D2F93
tetradic
#938D2F #2F935B #2F3593 #932F67
square
#938D2F #2F935B #2F3593 #932F67
split-complementary
#938D2F #2F6793 #5B2F93
monochromatic
#363411 #656120 #938D2F #C1B93E #D0CA6C

Accessibility & contrast

On white

3.45
#938D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#938D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938D2F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938D2F#FFFFFF#000000##000000
##938D2F1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #938d2f;
/* rgb */ color: rgb(147, 141, 47);
/* oklch */ color: oklch(63.0% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#b6ae6d',
    500: '#938d2f',
    950: '#000000',
  },
}
SCSS
$custom: #938d2f;
$custom-light: #b6ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#938d2f",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 56.4,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6305,
    "c": 0.11403,
    "h": 105.7
  },
  "luminance": 0.25458
}

Semantic roles & 50–950 ramp

primary
#938D2F
secondary
#666BB7
accent
#55DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #938D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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