#918E23#918E23

#918E23 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.123 H 107.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#918E23
RGBrgb(145, 142, 35)
HSLhsl(58, 61%, 35%)
HSVhsv(58, 76%, 57%)
CMYKcmyk(0%, 2.1%, 75.9%, 43.1%)
CIE-LABlab(57.55, -11.64, 53.47)
CIE-LCHlch(57.55, 54.72, 102.28°)
OKLaboklab(63% -0.0378 0.1175)
OKLCHoklch(63% 0.123 107.8)
XYZxyz(21.6543, 25.4878, 5.3688)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E23 #232691
analogous
#915723 #918E23 #5D9123
triadic
#918E23 #23918E #8E2391
tetradic
#918E23 #239157 #232691 #91235D
square
#918E23 #239157 #232691 #91235D
split-complementary
#918E23 #235D91 #572391
monochromatic
#2E2D0B #605E17 #918E23 #C2BE2F #D7D358

Accessibility & contrast

On white

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

On black

6.10
#918E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918E23
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918E23#FFFFFF#000000##000000
##918E231.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880C
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#9C847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918e23;
/* rgb */ color: rgb(145, 142, 35);
/* oklch */ color: oklch(63.0% 0.123 107.8);
Tailwind
colors: {
  custom: {
    50: '#b5ae67',
    500: '#918e23',
    950: '#000000',
  },
}
SCSS
$custom: #918e23;
$custom-light: #b5ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#918e23",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 58.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.12337,
    "h": 107.8
  },
  "luminance": 0.25487
}

Semantic roles & 50–950 ramp

primary
#918E23
secondary
#5558BB
accent
#48E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918E23

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

Preview Lab → · Contrast checker → · Palette generator →

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