#938E27#938E27

#938E27 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.121 H 106.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#938E27
RGBrgb(147, 142, 39)
HSLhsl(57, 58%, 36%)
HSVhsv(57, 73%, 58%)
CMYKcmyk(0%, 3.4%, 73.5%, 42.4%)
CIE-LABlab(57.75, -10.54, 52.26)
CIE-LCHlch(57.75, 53.32, 101.41°)
OKLaboklab(63.21% -0.0344 0.1156)
OKLCHoklch(63.21% 0.121 106.6)
XYZxyz(22.0727, 25.6963, 5.7163)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938E27 #272C93
analogous
#935827 #938E27 #629327
triadic
#938E27 #27938E #8E2793
tetradic
#938E27 #279358 #272C93 #932762
square
#938E27 #279358 #272C93 #932762
split-complementary
#938E27 #276293 #582793
monochromatic
#32310D #635F1A #938E27 #C3BD34 #D5CF60

Accessibility & contrast

On white

3.42
#938E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#938E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938E27
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938E27#FFFFFF#000000##000000
##938E271.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8814
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #938e27;
/* rgb */ color: rgb(147, 142, 39);
/* oklch */ color: oklch(63.2% 0.121 106.6);
Tailwind
colors: {
  custom: {
    50: '#b6ae69',
    500: '#938e27',
    950: '#000000',
  },
}
SCSS
$custom: #938e27;
$custom-light: #b6ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#938e27",
  "rgb": {
    "r": 147,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 57.222,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63214,
    "c": 0.12059,
    "h": 106.6
  },
  "luminance": 0.25696
}

Semantic roles & 50–950 ramp

primary
#938E27
secondary
#5C60BA
accent
#4EE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #938E27

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

Preview Lab → · Contrast checker → · Palette generator →

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