#9BA026#9BA026

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

Color values

HEX#9BA026
RGBrgb(155, 160, 38)
HSLhsl(62, 62%, 39%)
HSVhsv(62, 76%, 63%)
CMYKcmyk(3.1%, 0%, 76.3%, 37.3%)
CIE-LABlab(63.55, -16.49, 58.33)
CIE-LCHlch(63.55, 60.62, 105.79°)
OKLaboklab(68.01% -0.0516 0.128)
OKLCHoklch(68.01% 0.138 112)
XYZxyz(26.4391, 32.2508, 6.6656)
Luminance0.3225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA026 #2B26A0
analogous
#A06826 #9BA026 #5EA026
triadic
#9BA026 #269BA0 #A0269B
tetradic
#9BA026 #26A068 #2B26A0 #A0265E
square
#9BA026 #26A068 #2B26A0 #A0265E
split-complementary
#9BA026 #265EA0 #6826A0
monochromatic
#3B3D0F #6B6F1A #9BA026 #C9CF34 #D6DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA026#FFFFFF#000000##000000
##9BA0261.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)
#AD9807
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba026;
/* rgb */ color: rgb(155, 160, 38);
/* oklch */ color: oklch(68.0% 0.138 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb6b',
    500: '#9ba026',
    950: '#000000',
  },
}
SCSS
$custom: #9ba026;
$custom-light: #bcbb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba026",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 62.459,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68012,
    "c": 0.13795,
    "h": 112
  },
  "luminance": 0.3225
}

Semantic roles & 50–950 ramp

primary
#9BA026
secondary
#6561C0
accent
#43E54A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA026

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

Preview Lab → · Contrast checker → · Palette generator →

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