#A5B230#A5B230

#A5B230 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.149 H 115.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A5B230
RGBrgb(165, 178, 48)
HSLhsl(66, 58%, 44%)
HSVhsv(66, 73%, 70%)
CMYKcmyk(7.3%, 0%, 73%, 30.2%)
CIE-LABlab(69.51, -20.84, 60.82)
CIE-LCHlch(69.51, 64.29, 108.91°)
OKLaboklab(73% -0.0633 0.1347)
OKLCHoklch(73% 0.149 115.2)
XYZxyz(31.9718, 40.0541, 8.8427)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B230 #3D30B2
analogous
#B27E30 #A5B230 #64B230
triadic
#A5B230 #30A5B2 #B230A5
tetradic
#A5B230 #30B27E #3D30B2 #B23064
square
#A5B230 #30B27E #3D30B2 #B23064
split-complementary
#A5B230 #3064B2 #7E30B2
monochromatic
#4C5216 #788223 #A5B230 #C3D050 #D3DD80

Accessibility & contrast

On white

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

On black

9.01
#A5B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B230
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B230#FFFFFF#000000##000000
##A5B2301.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b230;
/* rgb */ color: rgb(165, 178, 48);
/* oklch */ color: oklch(73.0% 0.149 115.2);
Tailwind
colors: {
  custom: {
    50: '#c3c872',
    500: '#a5b230',
    950: '#000000',
  },
}
SCSS
$custom: #a5b230;
$custom-light: #c3c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b230",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 66,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73,
    "c": 0.14879,
    "h": 115.2
  },
  "luminance": 0.40054
}

Semantic roles & 50–950 ramp

primary
#A5B230
secondary
#8078C6
accent
#47E156
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B230

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

Preview Lab → · Contrast checker → · Palette generator →

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