#7C931B#7C931B

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

Color values

HEX#7C931B
RGBrgb(124, 147, 27)
HSLhsl(72, 69%, 34%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(15.6%, 0%, 81.6%, 42.4%)
CIE-LABlab(57.30, -23.88, 55.20)
CIE-LCHlch(57.30, 60.14, 113.40°)
OKLaboklab(62.38% -0.0711 0.1204)
OKLCHoklch(62.38% 0.14 120.6)
XYZxyz(18.9441, 25.2317, 4.9089)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C931B #321B93
analogous
#936E1B #7C931B #40931B
triadic
#7C931B #1B7C93 #931B7C
tetradic
#7C931B #1B936E #321B93 #931B40
square
#7C931B #1B936E #321B93 #931B40
split-complementary
#7C931B #1B4093 #6E1B93
monochromatic
#252C08 #505F12 #7C931B #A8C724 #C2DE4B

Accessibility & contrast

On white

3.47
#7C931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#7C931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C931B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C931B#FFFFFF#000000##000000
##7C931B1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#838B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c931b;
/* rgb */ color: rgb(124, 147, 27);
/* oklch */ color: oklch(62.4% 0.140 120.6);
Tailwind
colors: {
  custom: {
    50: '#a5b263',
    500: '#7c931b',
    950: '#000000',
  },
}
SCSS
$custom: #7c931b;
$custom-light: #a5b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7c931b",
  "rgb": {
    "r": 124,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 71.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.13989,
    "h": 120.6
  },
  "luminance": 0.25232
}

Semantic roles & 50–950 ramp

primary
#7C931B
secondary
#614AC0
accent
#3CEC5E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C931B

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

Preview Lab → · Contrast checker → · Palette generator →

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