#7E9023#7E9023

#7E9023 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.131 H 118.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7E9023
RGBrgb(126, 144, 35)
HSLhsl(70, 61%, 35%)
HSVhsv(70, 76%, 56%)
CMYKcmyk(12.5%, 0%, 75.7%, 43.5%)
CIE-LABlab(56.59, -21.14, 52.01)
CIE-LCHlch(56.59, 56.15, 112.12°)
OKLaboklab(61.85% -0.0631 0.1151)
OKLCHoklch(61.85% 0.131 118.7)
XYZxyz(18.8812, 24.5036, 5.3248)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9023 #352390
analogous
#906B23 #7E9023 #489023
triadic
#7E9023 #237E90 #90237E
tetradic
#7E9023 #23906B #352390 #902348
square
#7E9023 #23906B #352390 #902348
split-complementary
#7E9023 #234890 #6B2390
monochromatic
#282E0B #535F17 #7E9023 #A9C12F #C1D657

Accessibility & contrast

On white

3.56
#7E9023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7E9023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9023
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9023#FFFFFF#000000##000000
##7E90231.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880B
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#86887B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9023;
/* rgb */ color: rgb(126, 144, 35);
/* oklch */ color: oklch(61.9% 0.131 118.7);
Tailwind
colors: {
  custom: {
    50: '#a7b067',
    500: '#7e9023',
    950: '#000000',
  },
}
SCSS
$custom: #7e9023;
$custom-light: #a7b067;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9023",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 69.908,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.13121,
    "h": 118.7
  },
  "luminance": 0.24503
}

Semantic roles & 50–950 ramp

primary
#7E9023
secondary
#6554BA
accent
#44E45E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9023

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

Preview Lab → · Contrast checker → · Palette generator →

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