#938D2E#938D2E

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

Color values

HEX#938D2E
RGBrgb(147, 141, 46)
HSLhsl(56, 52%, 38%)
HSVhsv(56, 69%, 58%)
CMYKcmyk(0%, 4.1%, 68.7%, 42.4%)
CIE-LABlab(57.51, -9.63, 49.25)
CIE-LCHlch(57.51, 50.18, 101.06°)
OKLaboklab(63.04% -0.0311 0.1105)
OKLCHoklch(63.04% 0.115 105.7)
XYZxyz(22.0515, 25.4508, 6.3352)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938D2E #2E3493
analogous
#935B2E #938D2E #66932E
triadic
#938D2E #2E938D #8D2E93
tetradic
#938D2E #2E935B #2E3493 #932E66
square
#938D2E #2E935B #2E3493 #932E66
split-complementary
#938D2E #2E6693 #5B2E93
monochromatic
#363411 #64601F #938D2E #C2BA3D #D1CB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938D2E#FFFFFF#000000##000000
##938D2E1.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)
#998820
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #938d2e;
/* rgb */ color: rgb(147, 141, 46);
/* oklch */ color: oklch(63.0% 0.115 105.7);
Tailwind
colors: {
  custom: {
    50: '#b6ae6c',
    500: '#938d2e',
    950: '#000000',
  },
}
SCSS
$custom: #938d2e;
$custom-light: #b6ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#938d2e",
  "rgb": {
    "r": 147,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 56.436,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.11478,
    "h": 105.7
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

primary
#938D2E
secondary
#656AB8
accent
#55DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #938D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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