#918E2A#918E2A

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

Color values

HEX#918E2A
RGBrgb(145, 142, 42)
HSLhsl(58, 55%, 37%)
HSVhsv(58, 71%, 57%)
CMYKcmyk(0%, 2.1%, 71%, 43.1%)
CIE-LABlab(57.59, -11.29, 50.89)
CIE-LCHlch(57.59, 52.13, 102.51°)
OKLaboklab(63.05% -0.0361 0.1133)
OKLCHoklch(63.05% 0.119 107.7)
XYZxyz(21.7688, 25.5336, 5.9718)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E2A #2A2D91
analogous
#915B2A #918E2A #61912A
triadic
#918E2A #2A918E #8E2A91
tetradic
#918E2A #2A915B #2A2D91 #912A61
square
#918E2A #2A915B #2A2D91 #912A61
split-complementary
#918E2A #2A6191 #5B2A91
monochromatic
#32310F #62601C #918E2A #C0BC38 #D2CF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918E2A#FFFFFF#000000##000000
##918E2A1.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)
#9A881A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918e2a;
/* rgb */ color: rgb(145, 142, 42);
/* oklch */ color: oklch(63.1% 0.119 107.7);
Tailwind
colors: {
  custom: {
    50: '#b4ae6a',
    500: '#918e2a',
    950: '#000000',
  },
}
SCSS
$custom: #918e2a;
$custom-light: #b4ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#918e2a",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 58.252,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63053,
    "c": 0.11893,
    "h": 107.7
  },
  "luminance": 0.25533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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