#918F2A#918F2A

#918F2A is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.120 H 108.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#918F2A
RGBrgb(145, 143, 42)
HSLhsl(59, 55%, 37%)
HSVhsv(59, 71%, 57%)
CMYKcmyk(0%, 1.4%, 71%, 43.1%)
CIE-LABlab(57.88, -11.82, 51.18)
CIE-LCHlch(57.88, 52.52, 103.01°)
OKLaboklab(63.28% -0.0376 0.1139)
OKLCHoklch(63.28% 0.12 108.3)
XYZxyz(21.9182, 25.8325, 6.0216)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F2A #2A2C91
analogous
#915C2A #918F2A #60912A
triadic
#918F2A #2A918F #8F2A91
tetradic
#918F2A #2A915C #2A2C91 #912A60
square
#918F2A #2A915C #2A2C91 #912A60
split-complementary
#918F2A #2A6091 #5C2A91
monochromatic
#32310F #62601C #918F2A #C0BE38 #D2D063

Accessibility & contrast

On white

3.41
#918F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#918F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918F2A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918F2A#FFFFFF#000000##000000
##918F2A1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#9C867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f2a;
/* rgb */ color: rgb(145, 143, 42);
/* oklch */ color: oklch(63.3% 0.120 108.3);
Tailwind
colors: {
  custom: {
    50: '#b4af6a',
    500: '#918f2a',
    950: '#000000',
  },
}
SCSS
$custom: #918f2a;
$custom-light: #b4af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#918f2a",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 58.835,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63281,
    "c": 0.11996,
    "h": 108.3
  },
  "luminance": 0.25832
}

Semantic roles & 50–950 ramp

primary
#918F2A
secondary
#5F61B8
accent
#4CDE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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