#918E2B#918E2B

#918E2B is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.118 H 107.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#918E2B
RGBrgb(145, 142, 43)
HSLhsl(58, 54%, 37%)
HSVhsv(58, 70%, 57%)
CMYKcmyk(0%, 2.1%, 70.3%, 43.1%)
CIE-LABlab(57.60, -11.24, 50.50)
CIE-LCHlch(57.60, 51.74, 102.54°)
OKLaboklab(63.06% -0.0358 0.1127)
OKLCHoklch(63.06% 0.118 107.6)
XYZxyz(21.7869, 25.5409, 6.0673)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E2B #2B2E91
analogous
#915B2B #918E2B #61912B
triadic
#918E2B #2B918E #8E2B91
tetradic
#918E2B #2B915B #2B2E91 #912B61
square
#918E2B #2B915B #2B2E91 #912B61
split-complementary
#918E2B #2B6191 #5B2B91
monochromatic
#33320F #62601D #918E2B #C0BC39 #D1CE65

Accessibility & contrast

On white

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

On black

6.11
#918E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918E2B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918E2B#FFFFFF#000000##000000
##918E2B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881C
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918e2b;
/* rgb */ color: rgb(145, 142, 43);
/* oklch */ color: oklch(63.1% 0.118 107.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae6b',
    500: '#918e2b',
    950: '#000000',
  },
}
SCSS
$custom: #918e2b;
$custom-light: #b4ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#918e2b",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 58.235,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63061,
    "c": 0.11824,
    "h": 107.6
  },
  "luminance": 0.2554
}

Semantic roles & 50–950 ramp

primary
#918E2B
secondary
#6063B8
accent
#4FDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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