#918E27#918E27

#918E27 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.121 H 107.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#918E27
RGBrgb(145, 142, 39)
HSLhsl(58, 58%, 36%)
HSVhsv(58, 73%, 57%)
CMYKcmyk(0%, 2.1%, 73.1%, 43.1%)
CIE-LABlab(57.57, -11.45, 52.03)
CIE-LCHlch(57.57, 53.28, 102.41°)
OKLaboklab(63.03% -0.0368 0.1152)
OKLCHoklch(63.03% 0.121 107.7)
XYZxyz(21.7171, 25.5129, 5.6996)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E27 #272A91
analogous
#915927 #918E27 #5F9127
triadic
#918E27 #27918E #8E2791
tetradic
#918E27 #279159 #272A91 #91275F
square
#918E27 #279159 #272A91 #91275F
split-complementary
#918E27 #275F91 #592791
monochromatic
#31300D #615F1A #918E27 #C1BD34 #D4D15F

Accessibility & contrast

On white

3.44
#918E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#918E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918E27
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918E27#FFFFFF#000000##000000
##918E271.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8814
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#9C847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918e27;
/* rgb */ color: rgb(145, 142, 39);
/* oklch */ color: oklch(63.0% 0.121 107.7);
Tailwind
colors: {
  custom: {
    50: '#b4ae69',
    500: '#918e27',
    950: '#000000',
  },
}
SCSS
$custom: #918e27;
$custom-light: #b4ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#918e27",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 58.302,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.12092,
    "h": 107.7
  },
  "luminance": 0.25512
}

Semantic roles & 50–950 ramp

primary
#918E27
secondary
#5B5DB9
accent
#4BE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #918E27

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

Preview Lab → · Contrast checker → · Palette generator →

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