#938F2E#938F2E

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

Color values

HEX#938F2E
RGBrgb(147, 143, 46)
HSLhsl(58, 52%, 38%)
HSVhsv(58, 69%, 58%)
CMYKcmyk(0%, 2.7%, 68.7%, 42.4%)
CIE-LABlab(58.08, -10.70, 49.82)
CIE-LCHlch(58.08, 50.96, 102.12°)
OKLaboklab(63.5% -0.0341 0.1117)
OKLCHoklch(63.5% 0.117 107)
XYZxyz(22.3490, 26.0460, 6.4344)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938F2E #2E3293
analogous
#935D2E #938F2E #64932E
triadic
#938F2E #2E938F #8F2E93
tetradic
#938F2E #2E935D #2E3293 #932E64
square
#938F2E #2E935D #2E3293 #932E64
split-complementary
#938F2E #2E6493 #5D2E93
monochromatic
#363411 #64621F #938F2E #C2BC3D #D1CD6B

Accessibility & contrast

On white

3.38
#938F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#938F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938F2E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938F2E#FFFFFF#000000##000000
##938F2E1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#9E867B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #938f2e;
/* rgb */ color: rgb(147, 143, 46);
/* oklch */ color: oklch(63.5% 0.117 107.0);
Tailwind
colors: {
  custom: {
    50: '#b6af6d',
    500: '#938f2e',
    950: '#000000',
  },
}
SCSS
$custom: #938f2e;
$custom-light: #b6af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#938f2e",
  "rgb": {
    "r": 147,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 57.624,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.1168,
    "h": 107
  },
  "luminance": 0.26045
}

Semantic roles & 50–950 ramp

primary
#938F2E
secondary
#6568B8
accent
#52DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #938F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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