#9BA027#9BA027

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

Color values

HEX#9BA027
RGBrgb(155, 160, 39)
HSLhsl(62, 61%, 39%)
HSVhsv(62, 76%, 63%)
CMYKcmyk(3.1%, 0%, 75.6%, 37.3%)
CIE-LABlab(63.55, -16.45, 58.00)
CIE-LCHlch(63.55, 60.29, 105.83°)
OKLaboklab(68.02% -0.0514 0.1274)
OKLCHoklch(68.02% 0.137 112)
XYZxyz(26.4555, 32.2573, 6.7517)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA027 #2C27A0
analogous
#A06927 #9BA027 #5FA027
triadic
#9BA027 #279BA0 #A0279B
tetradic
#9BA027 #27A069 #2C27A0 #A0275F
square
#9BA027 #27A069 #2C27A0 #A0275F
split-complementary
#9BA027 #275FA0 #6927A0
monochromatic
#3C3E0F #6B6F1B #9BA027 #C8CE36 #D5DA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA027#FFFFFF#000000##000000
##9BA0271.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)
#AD980A
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba027;
/* rgb */ color: rgb(155, 160, 39);
/* oklch */ color: oklch(68.0% 0.137 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb6b',
    500: '#9ba027',
    950: '#000000',
  },
}
SCSS
$custom: #9ba027;
$custom-light: #bcbb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba027",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 62.479,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68018,
    "c": 0.1374,
    "h": 112
  },
  "luminance": 0.32257
}

Semantic roles & 50–950 ramp

primary
#9BA027
secondary
#6763C0
accent
#44E44A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA027

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

Preview Lab → · Contrast checker → · Palette generator →

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