#AEB238#AEB238

#AEB238 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.8% C 0.141 H 111.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#AEB238
RGBrgb(174, 178, 56)
HSLhsl(62, 52%, 46%)
HSVhsv(62, 69%, 70%)
CMYKcmyk(2.2%, 0%, 68.5%, 30.2%)
CIE-LABlab(70.26, -16.58, 58.85)
CIE-LCHlch(70.26, 61.14, 105.73°)
OKLaboklab(73.8% -0.0512 0.1316)
OKLCHoklch(73.8% 0.141 111.2)
XYZxyz(34.0908, 41.1258, 9.8829)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AEB238 #3C38B2
analogous
#B27938 #AEB238 #71B238
triadic
#AEB238 #38AEB2 #B238AE
tetradic
#AEB238 #38B279 #3C38B2 #B23871
square
#AEB238 #38B279 #3C38B2 #B23871
split-complementary
#AEB238 #3871B2 #7938B2
monochromatic
#53551B #808329 #AEB238 #C8CC5C #D8DA8A

Accessibility & contrast

On white

2.28
#AEB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#AEB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AEB238
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AEB238#FFFFFF#000000##000000
##AEB2381.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#BAA79A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aeb238;
/* rgb */ color: rgb(174, 178, 56);
/* oklch */ color: oklch(73.8% 0.141 111.2);
Tailwind
colors: {
  custom: {
    50: '#c9c876',
    500: '#aeb238',
    950: '#000000',
  },
}
SCSS
$custom: #aeb238;
$custom-light: #c9c876;
$custom-dark: #000000;
JSON
{
  "hex": "#aeb238",
  "rgb": {
    "r": 174,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 61.967,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73795,
    "c": 0.14119,
    "h": 111.2
  },
  "luminance": 0.41125
}

Semantic roles & 50–950 ramp

primary
#AEB238
secondary
#8381C5
accent
#4CDC51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AEB238

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

Preview Lab → · Contrast checker → · Palette generator →

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