#938D2D#938D2D

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

Color values

HEX#938D2D
RGBrgb(147, 141, 45)
HSLhsl(56, 53%, 38%)
HSVhsv(56, 69%, 58%)
CMYKcmyk(0%, 4.1%, 69.4%, 42.4%)
CIE-LABlab(57.50, -9.69, 49.65)
CIE-LCHlch(57.50, 50.59, 101.04°)
OKLaboklab(63.03% -0.0314 0.1112)
OKLCHoklch(63.03% 0.116 105.8)
XYZxyz(22.0320, 25.4430, 6.2326)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D2D #2D3393
analogous
#935A2D #938D2D #66932D
triadic
#938D2D #2D938D #8D2D93
tetradic
#938D2D #2D935A #2D3393 #932D66
square
#938D2D #2D935A #2D3393 #932D66
split-complementary
#938D2D #2D6693 #5A2D93
monochromatic
#353310 #64601F #938D2D #C2BA3B #D1CB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938D2D#FFFFFF#000000##000000
##938D2D1.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)
#99881F
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #938d2d;
/* rgb */ color: rgb(147, 141, 45);
/* oklch */ color: oklch(63.0% 0.116 105.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae6c',
    500: '#938d2d',
    950: '#000000',
  },
}
SCSS
$custom: #938d2d;
$custom-light: #b6ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#938d2d",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 56.471,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.11551,
    "h": 105.8
  },
  "luminance": 0.25442
}

Semantic roles & 50–950 ramp

primary
#938D2D
secondary
#6469B8
accent
#54DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #938D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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