#938E2F#938E2F

#938E2F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.115 H 106.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#938E2F
RGBrgb(147, 142, 47)
HSLhsl(57, 52%, 38%)
HSVhsv(57, 68%, 58%)
CMYKcmyk(0%, 3.4%, 68%, 42.4%)
CIE-LABlab(57.80, -10.11, 49.12)
CIE-LCHlch(57.80, 50.15, 101.63°)
OKLaboklab(63.28% -0.0323 0.1104)
OKLCHoklch(63.28% 0.115 106.3)
XYZxyz(22.2195, 25.7550, 6.4896)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E2F #2F3493
analogous
#935C2F #938E2F #66932F
triadic
#938E2F #2F938E #8E2F93
tetradic
#938E2F #2F935C #2F3493 #932F66
square
#938E2F #2F935C #2F3493 #932F66
split-complementary
#938E2F #2F6693 #5C2F93
monochromatic
#363411 #656120 #938E2F #C1BB3E #D0CB6C

Accessibility & contrast

On white

3.41
#938E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#938E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938E2F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938E2F#FFFFFF#000000##000000
##938E2F1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#9E857B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938e2f;
/* rgb */ color: rgb(147, 142, 47);
/* oklch */ color: oklch(63.3% 0.115 106.3);
Tailwind
colors: {
  custom: {
    50: '#b6ae6d',
    500: '#938e2f',
    950: '#000000',
  },
}
SCSS
$custom: #938e2f;
$custom-light: #b6ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#938e2f",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 57,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63276,
    "c": 0.11503,
    "h": 106.3
  },
  "luminance": 0.25754
}

Semantic roles & 50–950 ramp

primary
#938E2F
secondary
#666AB7
accent
#54DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #938E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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