#A0B238#A0B238

#A0B238 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.145 H 117.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#A0B238
RGBrgb(160, 178, 56)
HSLhsl(69, 52%, 46%)
HSVhsv(69, 69%, 70%)
CMYKcmyk(10.1%, 0%, 68.5%, 30.2%)
CIE-LABlab(69.18, -22.51, 57.41)
CIE-LCHlch(69.18, 61.66, 111.41°)
OKLaboklab(72.66% -0.0669 0.129)
OKLCHoklch(72.66% 0.145 117.4)
XYZxyz(31.1321, 39.6002, 9.7442)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B238 #4A38B2
analogous
#B28738 #A0B238 #63B238
triadic
#A0B238 #38A0B2 #B238A0
tetradic
#A0B238 #38B287 #4A38B2 #B23863
square
#A0B238 #38B287 #4A38B2 #B23863
split-complementary
#A0B238 #3863B2 #8738B2
monochromatic
#4C551B #768329 #A0B238 #BBCC5C #CEDA8A

Accessibility & contrast

On white

2.35
#A0B238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#A0B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B238
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B238#FFFFFF#000000##000000
##A0B2381.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#AAA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b238;
/* rgb */ color: rgb(160, 178, 56);
/* oklch */ color: oklch(72.7% 0.145 117.4);
Tailwind
colors: {
  custom: {
    50: '#bfc976',
    500: '#a0b238',
    950: '#000000',
  },
}
SCSS
$custom: #a0b238;
$custom-light: #bfc976;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b238",
  "rgb": {
    "r": 160,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 68.852,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72662,
    "c": 0.14528,
    "h": 117.4
  },
  "luminance": 0.396
}

Semantic roles & 50–950 ramp

primary
#A0B238
secondary
#8B81C5
accent
#4CDC61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A0B238

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

Preview Lab → · Contrast checker → · Palette generator →

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