#918D27#918D27

#918D27 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.120 H 107.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#918D27
RGBrgb(145, 141, 39)
HSLhsl(58, 58%, 36%)
HSVhsv(58, 73%, 57%)
CMYKcmyk(0%, 2.8%, 73.1%, 43.1%)
CIE-LABlab(57.29, -10.91, 51.76)
CIE-LCHlch(57.29, 52.89, 101.90°)
OKLaboklab(62.8% -0.0353 0.1146)
OKLCHoklch(62.8% 0.12 107.1)
XYZxyz(21.5690, 25.2167, 5.6502)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D27 #272B91
analogous
#915827 #918D27 #609127
triadic
#918D27 #27918D #8D2791
tetradic
#918D27 #279158 #272B91 #912760
square
#918D27 #279158 #272B91 #912760
split-complementary
#918D27 #276091 #582791
monochromatic
#312F0D #615E1A #918D27 #C1BC34 #D4CF5F

Accessibility & contrast

On white

3.47
#918D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#918D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D27
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D27#FFFFFF#000000##000000
##918D271.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918d27;
/* rgb */ color: rgb(145, 141, 39);
/* oklch */ color: oklch(62.8% 0.120 107.1);
Tailwind
colors: {
  custom: {
    50: '#b4ae69',
    500: '#918d27',
    950: '#000000',
  },
}
SCSS
$custom: #918d27;
$custom-light: #b4ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#918d27",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 57.736,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62803,
    "c": 0.11991,
    "h": 107.1
  },
  "luminance": 0.25216
}

Semantic roles & 50–950 ramp

primary
#918D27
secondary
#5B5EB9
accent
#4DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #918D27

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

Preview Lab → · Contrast checker → · Palette generator →

#918D27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva