#938722#938722

#938722 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.117 H 102.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#938722
RGBrgb(147, 135, 34)
HSLhsl(54, 62%, 35%)
HSVhsv(54, 77%, 58%)
CMYKcmyk(0%, 8.2%, 76.9%, 42.4%)
CIE-LABlab(55.73, -6.99, 52.19)
CIE-LCHlch(55.73, 52.66, 97.63°)
OKLaboklab(61.6% -0.0249 0.1145)
OKLCHoklch(61.6% 0.117 102.3)
XYZxyz(20.9863, 23.6474, 4.9720)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938722 #222E93
analogous
#934E22 #938722 #679322
triadic
#938722 #229387 #872293
tetradic
#938722 #22934E #222E93 #932267
square
#938722 #22934E #222E93 #932267
split-complementary
#938722 #226793 #4E2293
monochromatic
#302C0B #615917 #938722 #C5B52D #D8CA57

Accessibility & contrast

On white

3.67
#938722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#938722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938722
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938722#FFFFFF#000000##000000
##9387221.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#9F7D74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #938722;
/* rgb */ color: rgb(147, 135, 34);
/* oklch */ color: oklch(61.6% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#b6a965',
    500: '#938722',
    950: '#000000',
  },
}
SCSS
$custom: #938722;
$custom-light: #b6a965;
$custom-dark: #000000;
JSON
{
  "hex": "#938722",
  "rgb": {
    "r": 147,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 53.628,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.11714,
    "h": 102.3
  },
  "luminance": 0.23646
}

Semantic roles & 50–950 ramp

primary
#938722
secondary
#5560BC
accent
#54E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938722

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

Preview Lab → · Contrast checker → · Palette generator →

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