#9E9028#9E9028

#9E9028 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.7% C 0.121 H 101.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9E9028
RGBrgb(158, 144, 40)
HSLhsl(53, 60%, 39%)
HSVhsv(53, 75%, 62%)
CMYKcmyk(0%, 8.9%, 74.7%, 38%)
CIE-LABlab(59.32, -6.61, 53.74)
CIE-LCHlch(59.32, 54.14, 97.01°)
OKLaboklab(64.7% -0.0238 0.1185)
OKLCHoklch(64.7% 0.121 101.4)
XYZxyz(24.4579, 27.3699, 6.0017)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9028 #28369E
analogous
#9E5528 #9E9028 #719E28
triadic
#9E9028 #289E90 #90289E
tetradic
#9E9028 #289E55 #28369E #9E2871
square
#9E9028 #289E55 #28369E #9E2871
split-complementary
#9E9028 #28719E #55289E
monochromatic
#3C370F #6D631C #9E9028 #CCBB37 #D9CB68

Accessibility & contrast

On white

3.24
#9E9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9E9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9028
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9028#FFFFFF#000000##000000
##9E90281.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#AA857C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e9028;
/* rgb */ color: rgb(158, 144, 40);
/* oklch */ color: oklch(64.7% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#beb06a',
    500: '#9e9028',
    950: '#000000',
  },
}
SCSS
$custom: #9e9028;
$custom-light: #beb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9028",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 52.881,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64702,
    "c": 0.12085,
    "h": 101.4
  },
  "luminance": 0.27369
}

Semantic roles & 50–950 ramp

primary
#9E9028
secondary
#636EBF
accent
#58E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E9028

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

Preview Lab → · Contrast checker → · Palette generator →

#9E9028 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva