#938E2B#938E2B

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

Color values

HEX#938E2B
RGBrgb(147, 142, 43)
HSLhsl(57, 55%, 37%)
HSVhsv(57, 71%, 58%)
CMYKcmyk(0%, 3.4%, 70.7%, 42.4%)
CIE-LABlab(57.77, -10.34, 50.74)
CIE-LCHlch(57.77, 51.78, 101.52°)
OKLaboklab(63.24% -0.0334 0.1131)
OKLCHoklch(63.24% 0.118 106.5)
XYZxyz(22.1425, 25.7242, 6.0839)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E2B #2B3093
analogous
#935A2B #938E2B #64932B
triadic
#938E2B #2B938E #8E2B93
tetradic
#938E2B #2B935A #2B3093 #932B64
square
#938E2B #2B935A #2B3093 #932B64
split-complementary
#938E2B #2B6493 #5A2B93
monochromatic
#34330F #64601D #938E2B #C2BC39 #D2CD66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938E2B#FFFFFF#000000##000000
##938E2B1.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)
#9A891B
Deuteranopia (green-blind)
#9C8D32
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938e2b;
/* rgb */ color: rgb(147, 142, 43);
/* oklch */ color: oklch(63.2% 0.118 106.5);
Tailwind
colors: {
  custom: {
    50: '#b6ae6b',
    500: '#938e2b',
    950: '#000000',
  },
}
SCSS
$custom: #938e2b;
$custom-light: #b6ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#938e2b",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 57.115,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63243,
    "c": 0.11793,
    "h": 106.5
  },
  "luminance": 0.25723
}

Semantic roles & 50–950 ramp

primary
#938E2B
secondary
#6165B9
accent
#51DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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