#9BA025#9BA025

#9BA025 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.139 H 112.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9BA025
RGBrgb(155, 160, 37)
HSLhsl(62, 62%, 39%)
HSVhsv(62, 77%, 63%)
CMYKcmyk(3.1%, 0%, 76.9%, 37.3%)
CIE-LABlab(63.54, -16.54, 58.65)
CIE-LCHlch(63.54, 60.94, 105.75°)
OKLaboklab(68.01% -0.0518 0.1285)
OKLCHoklch(68.01% 0.139 112)
XYZxyz(26.4232, 32.2444, 6.5818)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA025 #2A25A0
analogous
#A06725 #9BA025 #5DA025
triadic
#9BA025 #259BA0 #A0259B
tetradic
#9BA025 #25A067 #2A25A0 #A0255D
square
#9BA025 #25A067 #2A25A0 #A0255D
split-complementary
#9BA025 #255DA0 #6725A0
monochromatic
#3B3D0E #6B6E1A #9BA025 #C9D032 #D6DB64

Accessibility & contrast

On white

2.82
#9BA025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#9BA025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA025
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA025#FFFFFF#000000##000000
##9BA0251.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9804
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba025;
/* rgb */ color: rgb(155, 160, 37);
/* oklch */ color: oklch(68.0% 0.139 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb6a',
    500: '#9ba025',
    950: '#000000',
  },
}
SCSS
$custom: #9ba025;
$custom-light: #bcbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba025",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 37
  },
  "hsl": {
    "h": 62.439,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68006,
    "c": 0.1385,
    "h": 112
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#9BA025
secondary
#6460C1
accent
#42E649
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA025

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

Preview Lab → · Contrast checker → · Palette generator →

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