#9AA238#9AA238

#9AA238 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.129 H 113.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9AA238
RGBrgb(154, 162, 56)
HSLhsl(65, 49%, 43%)
HSVhsv(65, 65%, 64%)
CMYKcmyk(4.9%, 0%, 65.4%, 36.5%)
CIE-LABlab(64.16, -16.98, 52.10)
CIE-LCHlch(64.16, 54.80, 108.06°)
OKLaboklab(68.52% -0.0511 0.1179)
OKLCHoklch(68.52% 0.129 113.4)
XYZxyz(26.9613, 32.9967, 8.6893)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA238 #4038A2
analogous
#A27538 #9AA238 #65A238
triadic
#9AA238 #389AA2 #A2389A
tetradic
#9AA238 #38A275 #4038A2 #A23865
square
#9AA238 #38A275 #4038A2 #A23865
split-complementary
#9AA238 #3865A2 #7538A2
monochromatic
#444719 #6F7528 #9AA238 #BBC453 #CDD381

Accessibility & contrast

On white

2.76
#9AA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9AA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA238
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA238#FFFFFF#000000##000000
##9AA2381.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A2A
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#A4998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa238;
/* rgb */ color: rgb(154, 162, 56);
/* oklch */ color: oklch(68.5% 0.129 113.4);
Tailwind
colors: {
  custom: {
    50: '#babd74',
    500: '#9aa238',
    950: '#000000',
  },
}
SCSS
$custom: #9aa238;
$custom-light: #babd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa238",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 64.528,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68517,
    "c": 0.12853,
    "h": 113.4
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#9AA238
secondary
#7E79BD
accent
#50D85A
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9AA238

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

Preview Lab → · Contrast checker → · Palette generator →

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