#B7C345#B7C345

#B7C345 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.4% C 0.148 H 114.5°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#B7C345
RGBrgb(183, 195, 69)
HSLhsl(66, 51%, 52%)
HSVhsv(66, 65%, 76%)
CMYKcmyk(6.2%, 0%, 64.6%, 23.5%)
CIE-LABlab(75.78, -20.53, 59.57)
CIE-LCHlch(75.78, 63.01, 109.02°)
OKLaboklab(78.41% -0.0615 0.1349)
OKLCHoklch(78.41% 0.148 114.5)
XYZxyz(40.1187, 49.5279, 13.0755)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C345 #5145C3
analogous
#C39045 #B7C345 #78C345
triadic
#B7C345 #45B7C3 #C345B7
tetradic
#B7C345 #45C390 #5145C3 #C34578
square
#B7C345 #45C390 #5145C3 #C34578
split-complementary
#B7C345 #4578C3 #9045C3
monochromatic
#646B23 #8F9931 #B7C345 #C9D273 #DBE1A2

Accessibility & contrast

On white

1.93
#B7C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#B7C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C345
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C345#FFFFFF#000000##000000
##B7C3451.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#C2B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b7c345;
/* rgb */ color: rgb(183, 195, 69);
/* oklch */ color: oklch(78.4% 0.148 114.5);
Tailwind
colors: {
  custom: {
    50: '#cfd57f',
    500: '#b7c345',
    950: '#000000',
  },
}
SCSS
$custom: #b7c345;
$custom-light: #cfd57f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c345",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 65.714,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78413,
    "c": 0.14825,
    "h": 114.5
  },
  "luminance": 0.49527
}

Semantic roles & 50–950 ramp

primary
#B7C345
secondary
#9C96CE
accent
#4DDB5B
background
#FDFDF8
surface
#FAFAEF
border
#D3D3CA
text
#14140A
muted
#83837C

Preview Lab

Preview with #B7C345

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

Preview Lab → · Contrast checker → · Palette generator →

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