#918C2E#918C2E

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

Color values

HEX#918C2E
RGBrgb(145, 140, 46)
HSLhsl(57, 52%, 37%)
HSVhsv(57, 68%, 57%)
CMYKcmyk(0%, 3.4%, 68.3%, 43.1%)
CIE-LABlab(57.05, -9.99, 48.72)
CIE-LCHlch(57.05, 49.73, 101.59°)
OKLaboklab(62.63% -0.032 0.1094)
OKLCHoklch(62.63% 0.114 106.3)
XYZxyz(21.5491, 24.9739, 6.2696)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918C2E #2E3391
analogous
#915B2E #918C2E #64912E
triadic
#918C2E #2E918C #8C2E91
tetradic
#918C2E #2E915B #2E3391 #912E64
square
#918C2E #2E915B #2E3391 #912E64
split-complementary
#918C2E #2E6491 #5B2E91
monochromatic
#343211 #635F1F #918C2E #BFB93D #D0CB6A

Accessibility & contrast

On white

3.50
#918C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##918C2E#FFFFFF#000000##000000
##918C2E1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918c2e;
/* rgb */ color: rgb(145, 140, 46);
/* oklch */ color: oklch(62.6% 0.114 106.3);
Tailwind
colors: {
  custom: {
    50: '#b4ad6c',
    500: '#918c2e',
    950: '#000000',
  },
}
SCSS
$custom: #918c2e;
$custom-light: #b4ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#918c2e",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 56.97,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.11402,
    "h": 106.3
  },
  "luminance": 0.24973
}

Semantic roles & 50–950 ramp

primary
#918C2E
secondary
#6468B7
accent
#54DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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