#918F2B#918F2B

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

Color values

HEX#918F2B
RGBrgb(145, 143, 43)
HSLhsl(59, 54%, 37%)
HSVhsv(59, 70%, 57%)
CMYKcmyk(0%, 1.4%, 70.3%, 43.1%)
CIE-LABlab(57.88, -11.77, 50.79)
CIE-LCHlch(57.88, 52.13, 103.05°)
OKLaboklab(63.29% -0.0373 0.1133)
OKLCHoklch(63.29% 0.119 108.2)
XYZxyz(21.9363, 25.8398, 6.1171)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F2B #2B2D91
analogous
#915C2B #918F2B #60912B
triadic
#918F2B #2B918F #8F2B91
tetradic
#918F2B #2B915C #2B2D91 #912B60
square
#918F2B #2B915C #2B2D91 #912B60
split-complementary
#918F2B #2B6091 #5C2B91
monochromatic
#33320F #62601D #918F2B #C0BE39 #D1CF65

Accessibility & contrast

On white

3.40
#918F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##918F2B#FFFFFF#000000##000000
##918F2B1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891B
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#9B867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f2b;
/* rgb */ color: rgb(145, 143, 43);
/* oklch */ color: oklch(63.3% 0.119 108.2);
Tailwind
colors: {
  custom: {
    50: '#b4af6b',
    500: '#918f2b',
    950: '#000000',
  },
}
SCSS
$custom: #918f2b;
$custom-light: #b4af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#918f2b",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 58.824,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63289,
    "c": 0.11927,
    "h": 108.2
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#918F2B
secondary
#6062B8
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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