#938227#938227

#938227 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.110 H 98.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#938227
RGBrgb(147, 130, 39)
HSLhsl(51, 58%, 36%)
HSVhsv(51, 73%, 58%)
CMYKcmyk(0%, 11.6%, 73.5%, 42.4%)
CIE-LABlab(54.36, -4.00, 48.97)
CIE-LCHlch(54.36, 49.13, 94.67°)
OKLaboklab(60.52% -0.0159 0.1086)
OKLCHoklch(60.52% 0.11 98.3)
XYZxyz(20.3824, 22.3158, 5.1528)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938227 #273893
analogous
#934C27 #938227 #6E9327
triadic
#938227 #279382 #822793
tetradic
#938227 #27934C #273893 #93276E
square
#938227 #27934C #273893 #93276E
split-complementary
#938227 #276E93 #4C2793
monochromatic
#322C0D #63571A #938227 #C3AD34 #D5C260

Accessibility & contrast

On white

3.84
#938227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#938227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938227
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938227#FFFFFF#000000##000000
##9382271.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#9F7870
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #938227;
/* rgb */ color: rgb(147, 130, 39);
/* oklch */ color: oklch(60.5% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#b6a667',
    500: '#938227',
    950: '#000000',
  },
}
SCSS
$custom: #938227;
$custom-light: #b6a667;
$custom-dark: #000000;
JSON
{
  "hex": "#938227",
  "rgb": {
    "r": 147,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 50.556,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.10977,
    "h": 98.3
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#938227
secondary
#5C6BBA
accent
#5FE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938227

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

Preview Lab → · Contrast checker → · Palette generator →

#938227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva