#B2AF3E#B2AF3E

#B2AF3E is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.133 H 107.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#B2AF3E
RGBrgb(178, 175, 62)
HSLhsl(58, 48%, 47%)
HSVhsv(58, 65%, 70%)
CMYKcmyk(0%, 1.7%, 65.2%, 30.2%)
CIE-LABlab(69.81, -12.98, 56.09)
CIE-LCHlch(69.81, 57.57, 103.03°)
OKLaboklab(73.52% -0.0406 0.1266)
OKLCHoklch(73.52% 0.133 107.8)
XYZxyz(34.5608, 40.4738, 10.5482)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF3E #3E41B2
analogous
#B2753E #B2AF3E #7BB23E
triadic
#B2AF3E #3EB2AF #AF3EB2
tetradic
#B2AF3E #3EB275 #3E41B2 #B23E7B
square
#B2AF3E #3EB275 #3E41B2 #B23E7B
split-complementary
#B2AF3E #3E7BB2 #753EB2
monochromatic
#57561E #85822E #B2AF3E #C9C664 #D9D792

Accessibility & contrast

On white

2.31
#B2AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#B2AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF3E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF3E#FFFFFF#000000##000000
##B2AF3E1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#BFAD45
Tritanopia (blue-blind)
#BEA498
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2af3e;
/* rgb */ color: rgb(178, 175, 62);
/* oklch */ color: oklch(73.5% 0.133 107.8);
Tailwind
colors: {
  custom: {
    50: '#ccc679',
    500: '#b2af3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2af3e;
$custom-light: #ccc679;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af3e",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 58.448,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73524,
    "c": 0.133,
    "h": 107.8
  },
  "luminance": 0.40473
}

Semantic roles & 50–950 ramp

primary
#B2AF3E
secondary
#8889C4
accent
#53D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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