#918F23#918F23

#918F23 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.124 H 108.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#918F23
RGBrgb(145, 143, 35)
HSLhsl(59, 61%, 35%)
HSVhsv(59, 76%, 57%)
CMYKcmyk(0%, 1.4%, 75.9%, 43.1%)
CIE-LABlab(57.83, -12.17, 53.73)
CIE-LCHlch(57.83, 55.10, 102.76°)
OKLaboklab(63.23% -0.0392 0.118)
OKLCHoklch(63.23% 0.124 108.4)
XYZxyz(21.8037, 25.7867, 5.4186)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F23 #232591
analogous
#915823 #918F23 #5C9123
triadic
#918F23 #23918F #8F2391
tetradic
#918F23 #239158 #232591 #91235C
square
#918F23 #239158 #232591 #91235C
split-complementary
#918F23 #235C91 #582391
monochromatic
#2E2E0B #605E17 #918F23 #C2C02F #D7D458

Accessibility & contrast

On white

3.41
#918F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#918F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918F23
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918F23#FFFFFF#000000##000000
##918F231.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890B
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#9C857B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f23;
/* rgb */ color: rgb(145, 143, 35);
/* oklch */ color: oklch(63.2% 0.124 108.4);
Tailwind
colors: {
  custom: {
    50: '#b5af67',
    500: '#918f23',
    950: '#000000',
  },
}
SCSS
$custom: #918f23;
$custom-light: #b5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#918f23",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 58.909,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63233,
    "c": 0.12438,
    "h": 108.4
  },
  "luminance": 0.25786
}

Semantic roles & 50–950 ramp

primary
#918F23
secondary
#5557BB
accent
#46E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918F23

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

Preview Lab → · Contrast checker → · Palette generator →

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