#7B941C#7B941C

#7B941C is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.5% C 0.141 H 121.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7B941C
RGBrgb(123, 148, 28)
HSLhsl(73, 68%, 35%)
HSVhsv(73, 81%, 58%)
CMYKcmyk(16.9%, 0%, 81.1%, 42%)
CIE-LABlab(57.53, -24.77, 55.09)
CIE-LCHlch(57.53, 60.40, 114.21°)
OKLaboklab(62.55% -0.0734 0.1204)
OKLCHoklch(62.55% 0.141 121.4)
XYZxyz(18.9682, 25.4746, 5.0162)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B941C #351C94
analogous
#94711C #7B941C #3F941C
triadic
#7B941C #1C7B94 #941C7B
tetradic
#7B941C #1C9471 #351C94 #941C3F
square
#7B941C #1C9471 #351C94 #941C3F
split-complementary
#7B941C #1C3F94 #711C94
monochromatic
#252D09 #506112 #7B941C #A6C726 #BFDD4D

Accessibility & contrast

On white

3.45
#7B941C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7B941C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B941C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B941C#FFFFFF#000000##000000
##7B941C1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#828C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b941c;
/* rgb */ color: rgb(123, 148, 28);
/* oklch */ color: oklch(62.5% 0.141 121.4);
Tailwind
colors: {
  custom: {
    50: '#a5b364',
    500: '#7b941c',
    950: '#000000',
  },
}
SCSS
$custom: #7b941c;
$custom-light: #a5b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7b941c",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 72.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.14104,
    "h": 121.4
  },
  "luminance": 0.25475
}

Semantic roles & 50–950 ramp

primary
#7B941C
secondary
#644CC0
accent
#3DEB61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B941C

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

Preview Lab → · Contrast checker → · Palette generator →

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