#94B228#94B228

#94B228 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.160 H 121.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#94B228
RGBrgb(148, 178, 40)
HSLhsl(73, 63%, 43%)
HSVhsv(73, 78%, 70%)
CMYKcmyk(16.9%, 0%, 77.5%, 30.2%)
CIE-LABlab(68.23, -28.35, 61.83)
CIE-LCHlch(68.23, 68.02, 114.63°)
OKLaboklab(71.65% -0.0837 0.1359)
OKLCHoklch(71.65% 0.16 121.6)
XYZxyz(28.5166, 38.2899, 7.8954)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94B228 #4628B2
analogous
#B28B28 #94B228 #4FB228
triadic
#94B228 #2894B2 #B22894
tetradic
#94B228 #28B28B #4628B2 #B2284F
square
#94B228 #28B28B #4628B2 #B2284F
split-complementary
#94B228 #284FB2 #8B28B2
monochromatic
#414E12 #6A801D #94B228 #B5D543 #C9E075

Accessibility & contrast

On white

2.43
#94B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#94B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94B228
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94B228#FFFFFF#000000##000000
##94B2281.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#9CA998
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #94b228;
/* rgb */ color: rgb(148, 178, 40);
/* oklch */ color: oklch(71.7% 0.160 121.6);
Tailwind
colors: {
  custom: {
    50: '#b7c96e',
    500: '#94b228',
    950: '#000000',
  },
}
SCSS
$custom: #94b228;
$custom-light: #b7c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#94b228",
  "rgb": {
    "r": 148,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 73.043,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7165,
    "c": 0.15967,
    "h": 121.6
  },
  "luminance": 0.3829
}

Semantic roles & 50–950 ramp

primary
#94B228
secondary
#826FC7
accent
#41E665
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #94B228

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

Preview Lab → · Contrast checker → · Palette generator →

#94B228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva