#9FA234#9FA234

#9FA234 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.130 H 110.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9FA234
RGBrgb(159, 162, 52)
HSLhsl(62, 51%, 42%)
HSVhsv(62, 68%, 64%)
CMYKcmyk(1.9%, 0%, 67.9%, 36.5%)
CIE-LABlab(64.53, -15.07, 54.25)
CIE-LCHlch(64.53, 56.30, 105.52°)
OKLaboklab(68.91% -0.0465 0.1217)
OKLCHoklch(68.91% 0.13 110.9)
XYZxyz(27.8391, 33.4602, 8.2401)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA234 #3734A2
analogous
#A26E34 #9FA234 #68A234
triadic
#9FA234 #349FA2 #A2349F
tetradic
#9FA234 #34A26E #3734A2 #A23468
square
#9FA234 #34A26E #3734A2 #A23468
split-complementary
#9FA234 #3468A2 #6E34A2
monochromatic
#444516 #727425 #9FA234 #C3C64D #D2D57C

Accessibility & contrast

On white

2.73
#9FA234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9FA234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA234
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA234#FFFFFF#000000##000000
##9FA2341.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B24
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#AA988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa234;
/* rgb */ color: rgb(159, 162, 52);
/* oklch */ color: oklch(68.9% 0.130 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebd72',
    500: '#9fa234',
    950: '#000000',
  },
}
SCSS
$custom: #9fa234;
$custom-light: #bebd72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa234",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 61.636,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68906,
    "c": 0.13026,
    "h": 110.9
  },
  "luminance": 0.3346
}

Semantic roles & 50–950 ramp

primary
#9FA234
secondary
#7674BE
accent
#4DDB51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA234

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

Preview Lab → · Contrast checker → · Palette generator →

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