#B3AF2B#B3AF2B

#B3AF2B is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.145 H 107.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#B3AF2B
RGBrgb(179, 175, 43)
HSLhsl(58, 61%, 44%)
HSVhsv(58, 76%, 70%)
CMYKcmyk(0%, 2.2%, 76%, 29.8%)
CIE-LABlab(69.77, -13.51, 63.15)
CIE-LCHlch(69.77, 64.58, 102.07°)
OKLaboklab(73.47% -0.0441 0.1382)
OKLCHoklch(73.47% 0.145 107.7)
XYZxyz(34.3578, 40.4192, 8.2769)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF2B #2B2FB3
analogous
#B36B2B #B3AF2B #73B32B
triadic
#B3AF2B #2BB3AF #AF2BB3
tetradic
#B3AF2B #2BB36B #2B2FB3 #B32B73
square
#B3AF2B #2BB36B #2B2FB3 #B32B73
split-complementary
#B3AF2B #2B73B3 #6B2BB3
monochromatic
#504F13 #827F1F #B3AF2B #D3CF48 #DFDC79

Accessibility & contrast

On white

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

On black

9.08
#B3AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF2B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF2B#FFFFFF#000000##000000
##B3AF2B1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80A
Deuteranopia (green-blind)
#C0AD36
Tritanopia (blue-blind)
#C0A396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3af2b;
/* rgb */ color: rgb(179, 175, 43);
/* oklch */ color: oklch(73.5% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#cdc66f',
    500: '#b3af2b',
    950: '#000000',
  },
}
SCSS
$custom: #b3af2b;
$custom-light: #cdc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af2b",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 58.235,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73474,
    "c": 0.14507,
    "h": 107.7
  },
  "luminance": 0.40418
}

Semantic roles & 50–950 ramp

primary
#B3AF2B
secondary
#7375C7
accent
#48E443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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