#A7B236#A7B236

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

Color values

HEX#A7B236
RGBrgb(167, 178, 54)
HSLhsl(65, 53%, 45%)
HSVhsv(65, 70%, 70%)
CMYKcmyk(6.2%, 0%, 69.7%, 30.2%)
CIE-LABlab(69.70, -19.67, 58.87)
CIE-LCHlch(69.70, 62.07, 108.48°)
OKLaboklab(73.2% -0.0596 0.1315)
OKLCHoklch(73.2% 0.144 114.4)
XYZxyz(32.5235, 40.3232, 9.5592)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B236 #4136B2
analogous
#B27F36 #A7B236 #69B236
triadic
#A7B236 #36A7B2 #B236A7
tetradic
#A7B236 #36B27F #4136B2 #B23669
square
#A7B236 #36B27F #4136B2 #B23669
split-complementary
#A7B236 #3669B2 #7F36B2
monochromatic
#4F541A #7B8328 #A7B236 #C2CD59 #D3DB88

Accessibility & contrast

On white

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

On black

9.06
#A7B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B236
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B236#FFFFFF#000000##000000
##A7B2361.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA922
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b236;
/* rgb */ color: rgb(167, 178, 54);
/* oklch */ color: oklch(73.2% 0.144 114.4);
Tailwind
colors: {
  custom: {
    50: '#c4c875',
    500: '#a7b236',
    950: '#000000',
  },
}
SCSS
$custom: #a7b236;
$custom-light: #c4c875;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b236",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 65.323,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73203,
    "c": 0.14439,
    "h": 114.4
  },
  "luminance": 0.40323
}

Semantic roles & 50–950 ramp

primary
#A7B236
secondary
#857FC5
accent
#4BDD58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B236

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

Preview Lab → · Contrast checker → · Palette generator →

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