#918E2C#918E2C

#918E2C 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#918E2C
RGBrgb(145, 142, 44)
HSLhsl(58, 53%, 37%)
HSVhsv(58, 70%, 57%)
CMYKcmyk(0%, 2.1%, 69.7%, 43.1%)
CIE-LABlab(57.61, -11.18, 50.11)
CIE-LCHlch(57.61, 51.34, 102.58°)
OKLaboklab(63.07% -0.0355 0.112)
OKLCHoklch(63.07% 0.118 107.6)
XYZxyz(21.8055, 25.5483, 6.1651)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E2C #2C2F91
analogous
#915C2C #918E2C #62912C
triadic
#918E2C #2C918E #8E2C91
tetradic
#918E2C #2C915C #2C2F91 #912C62
square
#918E2C #2C915C #2C2F91 #912C62
split-complementary
#918E2C #2C6291 #5C2C91
monochromatic
#333210 #62601E #918E2C #C0BC3A #D1CE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918E2C#FFFFFF#000000##000000
##918E2C1.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)
#9A881D
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918e2c;
/* rgb */ color: rgb(145, 142, 44);
/* oklch */ color: oklch(63.1% 0.118 107.6);
Tailwind
colors: {
  custom: {
    50: '#b4ae6b',
    500: '#918e2c',
    950: '#000000',
  },
}
SCSS
$custom: #918e2c;
$custom-light: #b4ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#918e2c",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 58.218,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63069,
    "c": 0.11753,
    "h": 107.6
  },
  "luminance": 0.25548
}

Semantic roles & 50–950 ramp

primary
#918E2C
secondary
#6264B7
accent
#4FDD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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