#B3AF2C#B3AF2C

#B3AF2C 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#B3AF2C
RGBrgb(179, 175, 44)
HSLhsl(58, 61%, 44%)
HSVhsv(58, 75%, 70%)
CMYKcmyk(0%, 2.2%, 75.4%, 29.8%)
CIE-LABlab(69.77, -13.47, 62.83)
CIE-LCHlch(69.77, 64.26, 102.10°)
OKLaboklab(73.48% -0.0439 0.1377)
OKLCHoklch(73.48% 0.145 107.7)
XYZxyz(34.3764, 40.4267, 8.3747)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF2C #2C30B3
analogous
#B36B2C #B3AF2C #73B32C
triadic
#B3AF2C #2CB3AF #AF2CB3
tetradic
#B3AF2C #2CB36B #2C30B3 #B32C73
square
#B3AF2C #2CB36B #2C30B3 #B32C73
split-complementary
#B3AF2C #2C73B3 #6B2CB3
monochromatic
#514F14 #827F20 #B3AF2C #D2CE4A #DFDC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AF2C#FFFFFF#000000##000000
##B3AF2C1.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)
#BEA80D
Deuteranopia (green-blind)
#C0AD36
Tritanopia (blue-blind)
#C0A396
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b3af2c;
/* rgb */ color: rgb(179, 175, 44);
/* oklch */ color: oklch(73.5% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#cdc670',
    500: '#b3af2c',
    950: '#000000',
  },
}
SCSS
$custom: #b3af2c;
$custom-light: #cdc670;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af2c",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 58.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7348,
    "c": 0.14453,
    "h": 107.7
  },
  "luminance": 0.40425
}

Semantic roles & 50–950 ramp

primary
#B3AF2C
secondary
#7476C7
accent
#49E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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