#B3AF4E#B3AF4E

#B3AF4E is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.120 H 106.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B3AF4E
RGBrgb(179, 175, 78)
HSLhsl(58, 40%, 50%)
HSVhsv(58, 56%, 70%)
CMYKcmyk(0%, 2.2%, 56.4%, 29.8%)
CIE-LABlab(70.03, -11.44, 49.29)
CIE-LCHlch(70.03, 50.60, 103.06°)
OKLaboklab(73.77% -0.0346 0.1144)
OKLCHoklch(73.77% 0.12 106.8)
XYZxyz(35.2966, 40.7948, 13.2211)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AF4E #4E52B3
analogous
#B37C4E #B3AF4E #84B34E
triadic
#B3AF4E #4EB3AF #AF4EB3
tetradic
#B3AF4E #4EB37C #4E52B3 #B34E84
square
#B3AF4E #4EB37C #4E52B3 #B34E84
split-complementary
#B3AF4E #4E84B3 #7C4EB3
monochromatic
#5E5C28 #89863B #B3AF4E #C5C279 #D8D6A4

Accessibility & contrast

On white

2.29
#B3AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B3AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AF4E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AF4E#FFFFFF#000000##000000
##B3AF4E1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#BEAD53
Tritanopia (blue-blind)
#BFA59A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3af4e;
/* rgb */ color: rgb(179, 175, 78);
/* oklch */ color: oklch(73.8% 0.120 106.8);
Tailwind
colors: {
  custom: {
    50: '#ccc683',
    500: '#b3af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b3af4e;
$custom-light: #ccc683;
$custom-dark: #000000;
JSON
{
  "hex": "#b3af4e",
  "rgb": {
    "r": 179,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 57.624,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7377,
    "c": 0.11951,
    "h": 106.8
  },
  "luminance": 0.40794
}

Semantic roles & 50–950 ramp

primary
#B3AF4E
secondary
#989AC5
accent
#5DD058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B3AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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