#938E2A#938E2A

#938E2A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.119 H 106.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#938E2A
RGBrgb(147, 142, 42)
HSLhsl(57, 56%, 37%)
HSVhsv(57, 71%, 58%)
CMYKcmyk(0%, 3.4%, 71.4%, 42.4%)
CIE-LABlab(57.77, -10.39, 51.13)
CIE-LCHlch(57.77, 52.17, 101.49°)
OKLaboklab(63.24% -0.0337 0.1137)
OKLCHoklch(63.24% 0.119 106.5)
XYZxyz(22.1244, 25.7170, 5.9885)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E2A #2A2F93
analogous
#935A2A #938E2A #64932A
triadic
#938E2A #2A938E #8E2A93
tetradic
#938E2A #2A935A #2A2F93 #932A64
square
#938E2A #2A935A #2A2F93 #932A64
split-complementary
#938E2A #2A6493 #5A2A93
monochromatic
#34320F #63601C #938E2A #C3BC38 #D3CE65

Accessibility & contrast

On white

3.42
#938E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#938E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938E2A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938E2A#FFFFFF#000000##000000
##938E2A1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891A
Deuteranopia (green-blind)
#9C8D31
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938e2a;
/* rgb */ color: rgb(147, 142, 42);
/* oklch */ color: oklch(63.2% 0.119 106.5);
Tailwind
colors: {
  custom: {
    50: '#b6ae6a',
    500: '#938e2a',
    950: '#000000',
  },
}
SCSS
$custom: #938e2a;
$custom-light: #b6ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#938e2a",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 57.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.11862,
    "h": 106.5
  },
  "luminance": 0.25716
}

Semantic roles & 50–950 ramp

primary
#938E2A
secondary
#6064B9
accent
#50DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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