#B7AF3E#B7AF3E

#B7AF3E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.0% C 0.132 H 105.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B7AF3E
RGBrgb(183, 175, 62)
HSLhsl(56, 49%, 48%)
HSVhsv(56, 66%, 72%)
CMYKcmyk(0%, 4.4%, 66.1%, 28.2%)
CIE-LABlab(70.23, -10.82, 56.66)
CIE-LCHlch(70.23, 57.68, 100.82°)
OKLaboklab(73.96% -0.0349 0.1277)
OKLCHoklch(73.96% 0.132 105.3)
XYZxyz(35.7293, 41.0763, 10.6030)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AF3E #3E46B7
analogous
#B7723E #B7AF3E #82B73E
triadic
#B7AF3E #3EB7AF #AF3EB7
tetradic
#B7AF3E #3EB772 #3E46B7 #B73E82
square
#B7AF3E #3EB772 #3E46B7 #B73E82
split-complementary
#B7AF3E #3E82B7 #723EB7
monochromatic
#5C581F #89832F #B7AF3E #CBC567 #DBD694

Accessibility & contrast

On white

2.28
#B7AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B7AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AF3E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AF3E#FFFFFF#000000##000000
##B7AF3E1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#C4A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7af3e;
/* rgb */ color: rgb(183, 175, 62);
/* oklch */ color: oklch(74.0% 0.132 105.3);
Tailwind
colors: {
  custom: {
    50: '#d0c679',
    500: '#b7af3e',
    950: '#000000',
  },
}
SCSS
$custom: #b7af3e;
$custom-light: #d0c679;
$custom-dark: #000000;
JSON
{
  "hex": "#b7af3e",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 56.033,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.13237,
    "h": 105.3
  },
  "luminance": 0.41075
}

Semantic roles & 50–950 ramp

primary
#B7AF3E
secondary
#8A8EC6
accent
#58D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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