#938F2A#938F2A

#938F2A is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.120 H 107.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#938F2A
RGBrgb(147, 143, 42)
HSLhsl(58, 56%, 37%)
HSVhsv(58, 71%, 58%)
CMYKcmyk(0%, 2.7%, 71.4%, 42.4%)
CIE-LABlab(58.05, -10.93, 51.41)
CIE-LCHlch(58.05, 52.56, 102.00°)
OKLaboklab(63.46% -0.0352 0.1143)
OKLCHoklch(63.46% 0.12 107.1)
XYZxyz(22.2738, 26.0159, 6.0383)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938F2A #2A2E93
analogous
#935A2A #938F2A #63932A
triadic
#938F2A #2A938F #8F2A93
tetradic
#938F2A #2A935A #2A2E93 #932A63
square
#938F2A #2A935A #2A2E93 #932A63
split-complementary
#938F2A #2A6393 #5A2A93
monochromatic
#34320F #63611C #938F2A #C3BD38 #D3CF65

Accessibility & contrast

On white

3.39
#938F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#938F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938F2A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938F2A#FFFFFF#000000##000000
##938F2A1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8919
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#9E857B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938f2a;
/* rgb */ color: rgb(147, 143, 42);
/* oklch */ color: oklch(63.5% 0.120 107.1);
Tailwind
colors: {
  custom: {
    50: '#b6af6a',
    500: '#938f2a',
    950: '#000000',
  },
}
SCSS
$custom: #938f2a;
$custom-light: #b6af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#938f2a",
  "rgb": {
    "r": 147,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 57.714,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63463,
    "c": 0.11962,
    "h": 107.1
  },
  "luminance": 0.26015
}

Semantic roles & 50–950 ramp

primary
#938F2A
secondary
#6063B9
accent
#4FDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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