#B2B74E#B2B74E

#B2B74E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.129 H 111.6°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B2B74E
RGBrgb(178, 183, 78)
HSLhsl(63, 42%, 51%)
HSVhsv(63, 57%, 72%)
CMYKcmyk(2.7%, 0%, 57.4%, 28.2%)
CIE-LABlab(72.15, -15.96, 51.65)
CIE-LCHlch(72.15, 54.07, 107.17°)
OKLaboklab(75.44% -0.0474 0.1195)
OKLCHoklch(75.44% 0.129 111.6)
XYZxyz(36.6696, 43.8828, 13.7448)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B74E #534EB7
analogous
#B7874E #B2B74E #7DB74E
triadic
#B2B74E #4EB2B7 #B74EB2
tetradic
#B2B74E #4EB787 #534EB7 #B74E7D
square
#B2B74E #4EB787 #534EB7 #B74E7D
split-complementary
#B2B74E #4E7DB7 #874EB7
monochromatic
#606328 #8A8E3A #B2B74E #C5C97A #D8DAA5

Accessibility & contrast

On white

2.15
#B2B74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B2B74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B74E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B74E#FFFFFF#000000##000000
##B2B74E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF43
Deuteranopia (green-blind)
#C4B254
Tritanopia (blue-blind)
#BDADA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b74e;
/* rgb */ color: rgb(178, 183, 78);
/* oklch */ color: oklch(75.4% 0.129 111.6);
Tailwind
colors: {
  custom: {
    50: '#cbcc83',
    500: '#b2b74e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b74e;
$custom-light: #cbcc83;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b74e",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 62.857,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75439,
    "c": 0.12851,
    "h": 111.6
  },
  "luminance": 0.43882
}

Semantic roles & 50–950 ramp

primary
#B2B74E
secondary
#9B99C8
accent
#56D25C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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