#A7B235#A7B235

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

Color values

HEX#A7B235
RGBrgb(167, 178, 53)
HSLhsl(65, 54%, 45%)
HSVhsv(65, 70%, 70%)
CMYKcmyk(6.2%, 0%, 70.2%, 30.2%)
CIE-LABlab(69.69, -19.73, 59.24)
CIE-LCHlch(69.69, 62.44, 108.42°)
OKLaboklab(73.2% -0.0598 0.1321)
OKLCHoklch(73.2% 0.145 114.4)
XYZxyz(32.5002, 40.3139, 9.4368)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B235 #4035B2
analogous
#B27E35 #A7B235 #68B235
triadic
#A7B235 #35A7B2 #B235A7
tetradic
#A7B235 #35B27E #4035B2 #B23568
square
#A7B235 #35B27E #4035B2 #B23568
split-complementary
#A7B235 #3568B2 #7E35B2
monochromatic
#4F5419 #7B8327 #A7B235 #C3CD57 #D4DB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B235#FFFFFF#000000##000000
##A7B2351.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)
#BFA920
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b235;
/* rgb */ color: rgb(167, 178, 53);
/* oklch */ color: oklch(73.2% 0.145 114.4);
Tailwind
colors: {
  custom: {
    50: '#c4c874',
    500: '#a7b235',
    950: '#000000',
  },
}
SCSS
$custom: #a7b235;
$custom-light: #c4c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b235",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 65.28,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73196,
    "c": 0.14504,
    "h": 114.4
  },
  "luminance": 0.40313
}

Semantic roles & 50–950 ramp

primary
#A7B235
secondary
#847EC5
accent
#4ADD57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B235

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

Preview Lab → · Contrast checker → · Palette generator →

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