#B2AD4E#B2AD4E

#B2AD4E is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.117 H 106.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B2AD4E
RGBrgb(178, 173, 78)
HSLhsl(57, 39%, 50%)
HSVhsv(57, 56%, 70%)
CMYKcmyk(0%, 2.8%, 56.2%, 30.2%)
CIE-LABlab(69.40, -10.82, 48.55)
CIE-LCHlch(69.40, 49.75, 102.56°)
OKLaboklab(73.25% -0.0327 0.1128)
OKLCHoklch(73.25% 0.118 106.2)
XYZxyz(34.6798, 39.9032, 13.0815)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AD4E #4E53B2
analogous
#B27B4E #B2AD4E #85B24E
triadic
#B2AD4E #4EB2AD #AD4EB2
tetradic
#B2AD4E #4EB27B #4E53B2 #B24E85
square
#B2AD4E #4EB27B #4E53B2 #B24E85
split-complementary
#B2AD4E #4E85B2 #7B4EB2
monochromatic
#5D5A29 #88843B #B2AD4E #C5C179 #D7D5A3

Accessibility & contrast

On white

2.34
#B2AD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B2AD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AD4E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AD4E#FFFFFF#000000##000000
##B2AD4E1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ad4e;
/* rgb */ color: rgb(178, 173, 78);
/* oklch */ color: oklch(73.2% 0.117 106.2);
Tailwind
colors: {
  custom: {
    50: '#cbc583',
    500: '#b2ad4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ad4e;
$custom-light: #cbc583;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ad4e",
  "rgb": {
    "r": 178,
    "g": 173,
    "b": 78
  },
  "hsl": {
    "h": 57,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73247,
    "c": 0.1175,
    "h": 106.2
  },
  "luminance": 0.39902
}

Semantic roles & 50–950 ramp

primary
#B2AD4E
secondary
#989AC4
accent
#5ECF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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