#999E2F#999E2F

#999E2F is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.4% C 0.131 H 112.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#999E2F
RGBrgb(153, 158, 47)
HSLhsl(63, 54%, 40%)
HSVhsv(63, 70%, 62%)
CMYKcmyk(3.2%, 0%, 70.3%, 38%)
CIE-LABlab(62.87, -15.89, 54.39)
CIE-LCHlch(62.87, 56.67, 106.29°)
OKLaboklab(67.45% -0.0489 0.1213)
OKLCHoklch(67.45% 0.131 112)
XYZxyz(25.8776, 31.4319, 7.3926)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999E2F #342F9E
analogous
#9E6C2F #999E2F #619E2F
triadic
#999E2F #2F999E #9E2F99
tetradic
#999E2F #2F9E6C #342F9E #9E2F61
square
#999E2F #2F9E6C #342F9E #9E2F61
split-complementary
#999E2F #2F619E #6C2F9E
monochromatic
#3E4013 #6B6F21 #999E2F #C1C743 #D1D572

Accessibility & contrast

On white

2.88
#999E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#999E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999E2F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999E2F#FFFFFF#000000##000000
##999E2F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#AB9937
Tritanopia (blue-blind)
#A39488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #999e2f;
/* rgb */ color: rgb(153, 158, 47);
/* oklch */ color: oklch(67.4% 0.131 112.0);
Tailwind
colors: {
  custom: {
    50: '#baba6f',
    500: '#999e2f',
    950: '#000000',
  },
}
SCSS
$custom: #999e2f;
$custom-light: #baba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#999e2f",
  "rgb": {
    "r": 153,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 62.703,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67446,
    "c": 0.13082,
    "h": 112
  },
  "luminance": 0.31431
}

Semantic roles & 50–950 ramp

primary
#999E2F
secondary
#706CBD
accent
#4ADE51
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #999E2F

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

Preview Lab → · Contrast checker → · Palette generator →

#999E2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva