#B2AE38#B2AE38

#B2AE38 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.3% C 0.136 H 107.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#B2AE38
RGBrgb(178, 174, 56)
HSLhsl(58, 52%, 46%)
HSVhsv(58, 69%, 70%)
CMYKcmyk(0%, 2.2%, 68.5%, 30.2%)
CIE-LABlab(69.49, -12.81, 58.18)
CIE-LCHlch(69.49, 59.57, 102.41°)
OKLaboklab(73.26% -0.0408 0.1301)
OKLCHoklch(73.26% 0.136 107.4)
XYZxyz(34.2112, 40.0237, 9.6639)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AE38 #383CB2
analogous
#B27138 #B2AE38 #79B238
triadic
#B2AE38 #38B2AE #AE38B2
tetradic
#B2AE38 #38B271 #383CB2 #B23879
square
#B2AE38 #38B271 #383CB2 #B23879
split-complementary
#B2AE38 #3879B2 #7138B2
monochromatic
#55531B #838029 #B2AE38 #CCC85C #DAD88A

Accessibility & contrast

On white

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

On black

9.00
#B2AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AE38
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AE38#FFFFFF#000000##000000
##B2AE381.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#BFA396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ae38;
/* rgb */ color: rgb(178, 174, 56);
/* oklch */ color: oklch(73.3% 0.136 107.4);
Tailwind
colors: {
  custom: {
    50: '#ccc576',
    500: '#b2ae38',
    950: '#000000',
  },
}
SCSS
$custom: #b2ae38;
$custom-light: #ccc576;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ae38",
  "rgb": {
    "r": 178,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 58.033,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73255,
    "c": 0.13631,
    "h": 107.4
  },
  "luminance": 0.40023
}

Semantic roles & 50–950 ramp

primary
#B2AE38
secondary
#8183C5
accent
#51DC4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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