#9BA028#9BA028

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

Color values

HEX#9BA028
RGBrgb(155, 160, 40)
HSLhsl(63, 60%, 39%)
HSVhsv(63, 75%, 63%)
CMYKcmyk(3.1%, 0%, 75%, 37.3%)
CIE-LABlab(63.56, -16.40, 57.67)
CIE-LCHlch(63.56, 59.96, 105.88°)
OKLaboklab(68.02% -0.0511 0.1269)
OKLCHoklch(68.02% 0.137 111.9)
XYZxyz(26.4723, 32.2640, 6.8402)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA028 #2D28A0
analogous
#A06928 #9BA028 #5FA028
triadic
#9BA028 #289BA0 #A0289B
tetradic
#9BA028 #28A069 #2D28A0 #A0285F
square
#9BA028 #28A069 #2D28A0 #A0285F
split-complementary
#9BA028 #285FA0 #6928A0
monochromatic
#3C3E10 #6C6F1C #9BA028 #C7CD38 #D5D969

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA028#FFFFFF#000000##000000
##9BA0281.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)
#AD980D
Deuteranopia (green-blind)
#AD9B32
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba028;
/* rgb */ color: rgb(155, 160, 40);
/* oklch */ color: oklch(68.0% 0.137 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbb6c',
    500: '#9ba028',
    950: '#000000',
  },
}
SCSS
$custom: #9ba028;
$custom-light: #bcbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba028",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 62.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68024,
    "c": 0.13684,
    "h": 111.9
  },
  "luminance": 0.32263
}

Semantic roles & 50–950 ramp

primary
#9BA028
secondary
#6864C0
accent
#45E34B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA028

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

Preview Lab → · Contrast checker → · Palette generator →

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