#B7C045#B7C045

#B7C045 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.145 H 113.3°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B7C045
RGBrgb(183, 192, 69)
HSLhsl(64, 49%, 51%)
HSVhsv(64, 64%, 75%)
CMYKcmyk(4.7%, 0%, 64.1%, 24.7%)
CIE-LABlab(74.95, -19.04, 58.70)
CIE-LCHlch(74.95, 61.71, 107.97°)
OKLaboklab(77.75% -0.0573 0.1331)
OKLCHoklch(77.75% 0.145 113.3)
XYZxyz(39.4533, 48.1970, 12.8537)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C045 #4E45C0
analogous
#C08B45 #B7C045 #79C045
triadic
#B7C045 #45B7C0 #C045B7
tetradic
#B7C045 #45C08B #4E45C0 #C04579
square
#B7C045 #45C08B #4E45C0 #C04579
split-complementary
#B7C045 #4579C0 #8B45C0
monochromatic
#636823 #8E9533 #B7C045 #C9CF73 #DADFA0

Accessibility & contrast

On white

1.97
#B7C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B7C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C045
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C045#FFFFFF#000000##000000
##B7C0451.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB735
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#C3B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b7c045;
/* rgb */ color: rgb(183, 192, 69);
/* oklch */ color: oklch(77.7% 0.145 113.3);
Tailwind
colors: {
  custom: {
    50: '#cfd27f',
    500: '#b7c045',
    950: '#000000',
  },
}
SCSS
$custom: #b7c045;
$custom-light: #cfd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c045",
  "rgb": {
    "r": 183,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 64.39,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77748,
    "c": 0.14488,
    "h": 113.3
  },
  "luminance": 0.48196
}

Semantic roles & 50–950 ramp

primary
#B7C045
secondary
#9995CC
accent
#4FD959
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7C045

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

Preview Lab → · Contrast checker → · Palette generator →

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