#A5B239#A5B239

#A5B239 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.143 H 115.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A5B239
RGBrgb(165, 178, 57)
HSLhsl(66, 51%, 46%)
HSVhsv(66, 68%, 70%)
CMYKcmyk(7.3%, 0%, 68%, 30.2%)
CIE-LABlab(69.57, -20.35, 57.53)
CIE-LCHlch(69.57, 61.02, 109.48°)
OKLaboklab(73.07% -0.0611 0.1292)
OKLCHoklch(73.07% 0.143 115.3)
XYZxyz(32.1768, 40.1360, 9.9221)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B239 #4639B2
analogous
#B28239 #A5B239 #68B239
triadic
#A5B239 #39A5B2 #B239A5
tetradic
#A5B239 #39B282 #4639B2 #B23968
square
#A5B239 #39B282 #4639B2 #B23968
split-complementary
#A5B239 #3968B2 #8239B2
monochromatic
#4F551B #7A842A #A5B239 #BFCB5D #D2DA8B

Accessibility & contrast

On white

2.33
#A5B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#A5B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B239
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B239#FFFFFF#000000##000000
##A5B2391.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b239;
/* rgb */ color: rgb(165, 178, 57);
/* oklch */ color: oklch(73.1% 0.143 115.3);
Tailwind
colors: {
  custom: {
    50: '#c3c876',
    500: '#a5b239',
    950: '#000000',
  },
}
SCSS
$custom: #a5b239;
$custom-light: #c3c876;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b239",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 66.446,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73065,
    "c": 0.14295,
    "h": 115.3
  },
  "luminance": 0.40136
}

Semantic roles & 50–950 ramp

primary
#A5B239
secondary
#8982C4
accent
#4DDB5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B239

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

Preview Lab → · Contrast checker → · Palette generator →

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