#918C2D#918C2D

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

Color values

HEX#918C2D
RGBrgb(145, 140, 45)
HSLhsl(57, 53%, 37%)
HSVhsv(57, 69%, 57%)
CMYKcmyk(0%, 3.4%, 69%, 43.1%)
CIE-LABlab(57.04, -10.05, 49.13)
CIE-LCHlch(57.04, 50.14, 101.56°)
OKLaboklab(62.62% -0.0322 0.1101)
OKLCHoklch(62.62% 0.115 106.3)
XYZxyz(21.5296, 24.9661, 6.1670)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918C2D #2D3291
analogous
#915A2D #918C2D #64912D
triadic
#918C2D #2D918C #8C2D91
tetradic
#918C2D #2D915A #2D3291 #912D64
square
#918C2D #2D915A #2D3291 #912D64
split-complementary
#918C2D #2D6491 #5A2D91
monochromatic
#343210 #625F1F #918C2D #C0B93B #D0CB68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918C2D#FFFFFF#000000##000000
##918C2D1.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)
#98871F
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918c2d;
/* rgb */ color: rgb(145, 140, 45);
/* oklch */ color: oklch(62.6% 0.115 106.3);
Tailwind
colors: {
  custom: {
    50: '#b4ad6c',
    500: '#918c2d',
    950: '#000000',
  },
}
SCSS
$custom: #918c2d;
$custom-light: #b4ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#918c2d",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 57,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62622,
    "c": 0.11475,
    "h": 106.3
  },
  "luminance": 0.24965
}

Semantic roles & 50–950 ramp

primary
#918C2D
secondary
#6367B7
accent
#53DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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