#93A228#93A228

#93A228 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.8% C 0.141 H 116.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#93A228
RGBrgb(147, 162, 40)
HSLhsl(67, 60%, 40%)
HSVhsv(67, 75%, 64%)
CMYKcmyk(9.3%, 0%, 75.3%, 36.5%)
CIE-LABlab(63.51, -20.91, 57.39)
CIE-LCHlch(63.51, 61.08, 110.02°)
OKLaboklab(67.82% -0.0632 0.1266)
OKLCHoklch(67.82% 0.142 116.5)
XYZxyz(25.3366, 32.1973, 6.8870)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#93A228 #3728A2
analogous
#A27428 #93A228 #56A228
triadic
#93A228 #2893A2 #A22893
tetradic
#93A228 #28A274 #3728A2 #A22856
square
#93A228 #28A274 #3728A2 #A22856
split-complementary
#93A228 #2856A2 #7428A2
monochromatic
#3A4010 #66711C #93A228 #BCCE39 #CCDA6A

Accessibility & contrast

On white

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

On black

7.44
#93A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #93A228
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##93A228#FFFFFF#000000##000000
##93A2281.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #93a228;
/* rgb */ color: rgb(147, 162, 40);
/* oklch */ color: oklch(67.8% 0.141 116.5);
Tailwind
colors: {
  custom: {
    50: '#b6bd6c',
    500: '#93a228',
    950: '#000000',
  },
}
SCSS
$custom: #93a228;
$custom-light: #b6bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#93a228",
  "rgb": {
    "r": 147,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 67.377,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67824,
    "c": 0.1415,
    "h": 116.5
  },
  "luminance": 0.32197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #93A228

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

Preview Lab → · Contrast checker → · Palette generator →

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