#938F2B#938F2B

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

Color values

HEX#938F2B
RGBrgb(147, 143, 43)
HSLhsl(58, 55%, 37%)
HSVhsv(58, 71%, 58%)
CMYKcmyk(0%, 2.7%, 70.7%, 42.4%)
CIE-LABlab(58.06, -10.87, 51.02)
CIE-LCHlch(58.06, 52.16, 102.03°)
OKLaboklab(63.47% -0.0349 0.1137)
OKLCHoklch(63.47% 0.119 107.1)
XYZxyz(22.2920, 26.0231, 6.1337)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938F2B #2B2F93
analogous
#935B2B #938F2B #63932B
triadic
#938F2B #2B938F #8F2B93
tetradic
#938F2B #2B935B #2B2F93 #932B63
square
#938F2B #2B935B #2B2F93 #932B63
split-complementary
#938F2B #2B6393 #5B2B93
monochromatic
#34330F #64611D #938F2B #C2BD39 #D2CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938F2B#FFFFFF#000000##000000
##938F2B1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891B
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#9E857B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #938f2b;
/* rgb */ color: rgb(147, 143, 43);
/* oklch */ color: oklch(63.5% 0.119 107.1);
Tailwind
colors: {
  custom: {
    50: '#b6af6b',
    500: '#938f2b',
    950: '#000000',
  },
}
SCSS
$custom: #938f2b;
$custom-light: #b6af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#938f2b",
  "rgb": {
    "r": 147,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 57.692,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6347,
    "c": 0.11894,
    "h": 107.1
  },
  "luminance": 0.26022
}

Semantic roles & 50–950 ramp

primary
#938F2B
secondary
#6165B9
accent
#4FDE4A
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #938F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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