#9BA023#9BA023

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

Color values

HEX#9BA023
RGBrgb(155, 160, 35)
HSLhsl(62, 64%, 38%)
HSVhsv(62, 78%, 63%)
CMYKcmyk(3.1%, 0%, 78.1%, 37.3%)
CIE-LABlab(63.53, -16.62, 59.28)
CIE-LCHlch(63.53, 61.57, 105.66°)
OKLaboklab(68% -0.0522 0.1294)
OKLCHoklch(68% 0.14 112)
XYZxyz(26.3927, 32.2322, 6.4209)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA023 #2823A0
analogous
#A06623 #9BA023 #5CA023
triadic
#9BA023 #239BA0 #A0239B
tetradic
#9BA023 #23A066 #2823A0 #A0235C
square
#9BA023 #23A066 #2823A0 #A0235C
split-complementary
#9BA023 #235CA0 #6623A0
monochromatic
#3A3C0D #6A6E18 #9BA023 #CBD12F #D7DC61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA023#FFFFFF#000000##000000
##9BA0231.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)
#AD9800
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba023;
/* rgb */ color: rgb(155, 160, 35);
/* oklch */ color: oklch(68.0% 0.140 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb69',
    500: '#9ba023',
    950: '#000000',
  },
}
SCSS
$custom: #9ba023;
$custom-light: #bcbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba023",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 62.4,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.13954,
    "h": 112
  },
  "luminance": 0.32232
}

Semantic roles & 50–950 ramp

primary
#9BA023
secondary
#615DC1
accent
#41E747
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA023

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

Preview Lab → · Contrast checker → · Palette generator →

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