#94A228#94A228

#94A228 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 67.9% C 0.141 H 116.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#94A228
RGBrgb(148, 162, 40)
HSLhsl(67, 60%, 40%)
HSVhsv(67, 75%, 64%)
CMYKcmyk(8.6%, 0%, 75.3%, 36.5%)
CIE-LABlab(63.58, -20.47, 57.49)
CIE-LCHlch(63.58, 61.03, 109.60°)
OKLaboklab(67.9% -0.062 0.1268)
OKLCHoklch(67.9% 0.141 116.1)
XYZxyz(25.5167, 32.2901, 6.8955)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94A228 #3628A2
analogous
#A27328 #94A228 #57A228
triadic
#94A228 #2894A2 #A22894
tetradic
#94A228 #28A273 #3628A2 #A22857
square
#94A228 #28A273 #3628A2 #A22857
split-complementary
#94A228 #2857A2 #7328A2
monochromatic
#3A4010 #67711C #94A228 #BDCE39 #CDDA6A

Accessibility & contrast

On white

2.82
#94A228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#94A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #94A228
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94A228#FFFFFF#000000##000000
##94A2281.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990C
Deuteranopia (green-blind)
#AC9B33
Tritanopia (blue-blind)
#9E988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #94a228;
/* rgb */ color: rgb(148, 162, 40);
/* oklch */ color: oklch(67.9% 0.141 116.1);
Tailwind
colors: {
  custom: {
    50: '#b7bd6c',
    500: '#94a228',
    950: '#000000',
  },
}
SCSS
$custom: #94a228;
$custom-light: #b7bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#94a228",
  "rgb": {
    "r": 148,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 66.885,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67904,
    "c": 0.14115,
    "h": 116.1
  },
  "luminance": 0.3229
}

Semantic roles & 50–950 ramp

primary
#94A228
secondary
#7065C1
accent
#44E457
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #94A228

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

Preview Lab → · Contrast checker → · Palette generator →

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