#A7B239#A7B239

#A7B239 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.142 H 114.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A7B239
RGBrgb(167, 178, 57)
HSLhsl(65, 51%, 46%)
HSVhsv(65, 68%, 70%)
CMYKcmyk(6.2%, 0%, 68%, 30.2%)
CIE-LABlab(69.72, -19.50, 57.73)
CIE-LCHlch(69.72, 60.94, 108.66°)
OKLaboklab(73.23% -0.0588 0.1296)
OKLCHoklch(73.23% 0.142 114.4)
XYZxyz(32.5961, 40.3523, 9.9417)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B239 #4439B2
analogous
#B28039 #A7B239 #6AB239
triadic
#A7B239 #39A7B2 #B239A7
tetradic
#A7B239 #39B280 #4439B2 #B2396A
square
#A7B239 #39B280 #4439B2 #B2396A
split-complementary
#A7B239 #396AB2 #8039B2
monochromatic
#50551B #7C842A #A7B239 #C1CB5D #D3DA8B

Accessibility & contrast

On white

2.32
#A7B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A7B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B239
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B239#FFFFFF#000000##000000
##A7B2391.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA927
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#B2A89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b239;
/* rgb */ color: rgb(167, 178, 57);
/* oklch */ color: oklch(73.2% 0.142 114.4);
Tailwind
colors: {
  custom: {
    50: '#c4c876',
    500: '#a7b239',
    950: '#000000',
  },
}
SCSS
$custom: #a7b239;
$custom-light: #c4c876;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b239",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 65.455,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73226,
    "c": 0.14234,
    "h": 114.4
  },
  "luminance": 0.40352
}

Semantic roles & 50–950 ramp

primary
#A7B239
secondary
#8882C4
accent
#4DDB5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B239

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

Preview Lab → · Contrast checker → · Palette generator →

#A7B239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva