#938E2C#938E2C

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

Color values

HEX#938E2C
RGBrgb(147, 142, 44)
HSLhsl(57, 54%, 37%)
HSVhsv(57, 70%, 58%)
CMYKcmyk(0%, 3.4%, 70.1%, 42.4%)
CIE-LABlab(57.78, -10.28, 50.34)
CIE-LCHlch(57.78, 51.38, 101.54°)
OKLaboklab(63.25% -0.0331 0.1125)
OKLCHoklch(63.25% 0.117 106.4)
XYZxyz(22.1611, 25.7317, 6.1817)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E2C #2C3193
analogous
#935A2C #938E2C #65932C
triadic
#938E2C #2C938E #8E2C93
tetradic
#938E2C #2C935A #2C3193 #932C65
square
#938E2C #2C935A #2C3193 #932C65
split-complementary
#938E2C #2C6593 #5A2C93
monochromatic
#353310 #64611E #938E2C #C2BB3A #D2CD68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938E2C#FFFFFF#000000##000000
##938E2C1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #938e2c;
/* rgb */ color: rgb(147, 142, 44);
/* oklch */ color: oklch(63.3% 0.117 106.4);
Tailwind
colors: {
  custom: {
    50: '#b6ae6b',
    500: '#938e2c',
    950: '#000000',
  },
}
SCSS
$custom: #938e2c;
$custom-light: #b6ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#938e2c",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 57.087,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63251,
    "c": 0.11723,
    "h": 106.4
  },
  "luminance": 0.25731
}

Semantic roles & 50–950 ramp

primary
#938E2C
secondary
#6367B8
accent
#52DD4A
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #938E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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