#B7CA5A#B7CA5A

#B7CA5A is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.2% C 0.139 H 117.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#B7CA5A
RGBrgb(183, 202, 90)
HSLhsl(70, 51%, 57%)
HSVhsv(70, 55%, 79%)
CMYKcmyk(9.4%, 0%, 55.4%, 20.8%)
CIE-LABlab(77.90, -22.42, 52.81)
CIE-LCHlch(77.90, 57.37, 113.01°)
OKLaboklab(80.18% -0.0646 0.1232)
OKLCHoklch(80.18% 0.139 117.7)
XYZxyz(42.4951, 53.0469, 17.6713)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA5A #6D5ACA
analogous
#CAA55A #B7CA5A #7FCA5A
triadic
#B7CA5A #5AB7CA #CA5AB7
tetradic
#B7CA5A #5ACAA5 #6D5ACA #CA5A7F
square
#B7CA5A #5ACAA5 #6D5ACA #CA5A7F
split-complementary
#B7CA5A #5A7FCA #A55ACA
monochromatic
#728029 #9BAF38 #B7CA5A #CBD988 #DFE8B7

Accessibility & contrast

On white

1.81
#B7CA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#B7CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA5A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA5A#FFFFFF#000000##000000
##B7CA5A1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04F
Deuteranopia (green-blind)
#D4C161
Tritanopia (blue-blind)
#C1C0B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7ca5a;
/* rgb */ color: rgb(183, 202, 90);
/* oklch */ color: oklch(80.2% 0.139 117.7);
Tailwind
colors: {
  custom: {
    50: '#cfda8c',
    500: '#b7ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca5a;
$custom-light: #cfda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca5a",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 70.179,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80175,
    "c": 0.13914,
    "h": 117.7
  },
  "luminance": 0.53047
}

Semantic roles & 50–950 ramp

primary
#B7CA5A
secondary
#4C4088
accent
#4DDB65
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B7CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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