#B2AF4E#B2AF4E

#B2AF4E is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.120 H 107.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B2AF4E
RGBrgb(178, 175, 78)
HSLhsl(58, 39%, 50%)
HSVhsv(58, 56%, 70%)
CMYKcmyk(0%, 1.7%, 56.2%, 30.2%)
CIE-LABlab(69.95, -11.86, 49.18)
CIE-LCHlch(69.95, 50.59, 103.56°)
OKLaboklab(73.68% -0.0357 0.1142)
OKLCHoklch(73.68% 0.12 107.4)
XYZxyz(35.0662, 40.6760, 13.2103)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AF4E #4E51B2
analogous
#B27D4E #B2AF4E #83B24E
triadic
#B2AF4E #4EB2AF #AF4EB2
tetradic
#B2AF4E #4EB27D #4E51B2 #B24E83
square
#B2AF4E #4EB27D #4E51B2 #B24E83
split-complementary
#B2AF4E #4E83B2 #7D4EB2
monochromatic
#5D5C29 #88853B #B2AF4E #C5C279 #D7D6A3

Accessibility & contrast

On white

2.30
#B2AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#B2AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AF4E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AF4E#FFFFFF#000000##000000
##B2AF4E1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2af4e;
/* rgb */ color: rgb(178, 175, 78);
/* oklch */ color: oklch(73.7% 0.120 107.4);
Tailwind
colors: {
  custom: {
    50: '#cbc683',
    500: '#b2af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2af4e;
$custom-light: #cbc683;
$custom-dark: #000000;
JSON
{
  "hex": "#b2af4e",
  "rgb": {
    "r": 178,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 58.2,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73683,
    "c": 0.11962,
    "h": 107.4
  },
  "luminance": 0.40675
}

Semantic roles & 50–950 ramp

primary
#B2AF4E
secondary
#9899C4
accent
#5CCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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