#B7AF4E#B7AF4E

#B7AF4E is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.119 H 104.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B7AF4E
RGBrgb(183, 175, 78)
HSLhsl(55, 42%, 51%)
HSVhsv(55, 57%, 72%)
CMYKcmyk(0%, 4.4%, 57.4%, 28.2%)
CIE-LABlab(70.37, -9.74, 49.77)
CIE-LCHlch(70.37, 50.71, 101.07°)
OKLaboklab(74.12% -0.03 0.1153)
OKLCHoklch(74.12% 0.119 104.6)
XYZxyz(36.2347, 41.2785, 13.2651)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AF4E #4E56B7
analogous
#B77A4E #B7AF4E #8AB74E
triadic
#B7AF4E #4EB7AF #AF4EB7
tetradic
#B7AF4E #4EB77A #4E56B7 #B74E8A
square
#B7AF4E #4EB77A #4E56B7 #B74E8A
split-complementary
#B7AF4E #4E8AB7 #7A4EB7
monochromatic
#635E28 #8E883A #B7AF4E #C9C37A #DAD6A5

Accessibility & contrast

On white

2.27
#B7AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B7AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AF4E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AF4E#FFFFFF#000000##000000
##B7AF4E1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA944
Deuteranopia (green-blind)
#C0AE53
Tritanopia (blue-blind)
#C3A49A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7af4e;
/* rgb */ color: rgb(183, 175, 78);
/* oklch */ color: oklch(74.1% 0.119 104.6);
Tailwind
colors: {
  custom: {
    50: '#cfc683',
    500: '#b7af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b7af4e;
$custom-light: #cfc683;
$custom-dark: #000000;
JSON
{
  "hex": "#b7af4e",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 55.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74121,
    "c": 0.11917,
    "h": 104.6
  },
  "luminance": 0.41277
}

Semantic roles & 50–950 ramp

primary
#B7AF4E
secondary
#999DC8
accent
#5FD256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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