#918C2A#918C2A

#918C2A is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.117 H 106.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#918C2A
RGBrgb(145, 140, 42)
HSLhsl(57, 55%, 37%)
HSVhsv(57, 71%, 57%)
CMYKcmyk(0%, 3.4%, 71%, 43.1%)
CIE-LABlab(57.02, -10.22, 50.33)
CIE-LCHlch(57.02, 51.36, 101.47°)
OKLaboklab(62.6% -0.0331 0.1121)
OKLCHoklch(62.6% 0.117 106.4)
XYZxyz(21.4739, 24.9438, 5.8735)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918C2A #2A2F91
analogous
#91592A #918C2A #63912A
triadic
#918C2A #2A918C #8C2A91
tetradic
#918C2A #2A9159 #2A2F91 #912A63
square
#918C2A #2A9159 #2A2F91 #912A63
split-complementary
#918C2A #2A6391 #592A91
monochromatic
#32300F #625E1C #918C2A #C0BA38 #D2CD63

Accessibility & contrast

On white

3.51
#918C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#918C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918C2A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918C2A#FFFFFF#000000##000000
##918C2A1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871A
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918c2a;
/* rgb */ color: rgb(145, 140, 42);
/* oklch */ color: oklch(62.6% 0.117 106.4);
Tailwind
colors: {
  custom: {
    50: '#b4ad6a',
    500: '#918c2a',
    950: '#000000',
  },
}
SCSS
$custom: #918c2a;
$custom-light: #b4ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#918c2a",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 57.087,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62598,
    "c": 0.1169,
    "h": 106.4
  },
  "luminance": 0.24943
}

Semantic roles & 50–950 ramp

primary
#918C2A
secondary
#5F63B8
accent
#51DE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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