#7B931B#7B931B

#7B931B is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.3% C 0.140 H 121.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B931B
RGBrgb(123, 147, 27)
HSLhsl(72, 69%, 34%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(16.3%, 0%, 81.6%, 42.4%)
CIE-LABlab(57.23, -24.31, 55.11)
CIE-LCHlch(57.23, 60.23, 113.81°)
OKLaboklab(62.3% -0.0723 0.1203)
OKLCHoklch(62.3% 0.14 121)
XYZxyz(18.8003, 25.1575, 4.9022)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B931B #331B93
analogous
#936F1B #7B931B #3F931B
triadic
#7B931B #1B7B93 #931B7B
tetradic
#7B931B #1B936F #331B93 #931B3F
square
#7B931B #1B936F #331B93 #931B3F
split-complementary
#7B931B #1B3F93 #6F1B93
monochromatic
#242C08 #505F12 #7B931B #A6C724 #C0DE4B

Accessibility & contrast

On white

3.48
#7B931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7B931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B931B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B931B#FFFFFF#000000##000000
##7B931B1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#828B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b931b;
/* rgb */ color: rgb(123, 147, 27);
/* oklch */ color: oklch(62.3% 0.140 121.0);
Tailwind
colors: {
  custom: {
    50: '#a5b263',
    500: '#7b931b',
    950: '#000000',
  },
}
SCSS
$custom: #7b931b;
$custom-light: #a5b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7b931b",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 72,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.14032,
    "h": 121
  },
  "luminance": 0.25158
}

Semantic roles & 50–950 ramp

primary
#7B931B
secondary
#624AC0
accent
#3CEC5F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B931B

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

Preview Lab → · Contrast checker → · Palette generator →

#7B931B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva