#B7C262#B7C262

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

Color values

HEX#B7C262
RGBrgb(183, 194, 98)
HSLhsl(67, 44%, 57%)
HSVhsv(67, 49%, 76%)
CMYKcmyk(5.7%, 0%, 49.5%, 23.9%)
CIE-LABlab(75.78, -17.74, 46.58)
CIE-LCHlch(75.78, 49.84, 110.85°)
OKLaboklab(78.51% -0.0506 0.1105)
OKLCHoklch(78.51% 0.122 114.6)
XYZxyz(41.0254, 49.5333, 18.9526)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C262 #6D62C2
analogous
#C29D62 #B7C262 #87C262
triadic
#B7C262 #62B7C2 #C262B7
tetradic
#B7C262 #62C29D #6D62C2 #C26287
square
#B7C262 #62C29D #6D62C2 #C26287
split-complementary
#B7C262 #6287C2 #9D62C2
monochromatic
#727A2F #9BA641 #B7C262 #CBD38E #DFE4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C262#FFFFFF#000000##000000
##B7C2621.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)
#CEBA59
Deuteranopia (green-blind)
#CDBC67
Tritanopia (blue-blind)
#C1B9AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b7c262;
/* rgb */ color: rgb(183, 194, 98);
/* oklch */ color: oklch(78.5% 0.122 114.6);
Tailwind
colors: {
  custom: {
    50: '#ced491',
    500: '#b7c262',
    950: '#000000',
  },
}
SCSS
$custom: #b7c262;
$custom-light: #ced491;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c262",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 66.875,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78505,
    "c": 0.12152,
    "h": 114.6
  },
  "luminance": 0.49533
}

Semantic roles & 50–950 ramp

primary
#B7C262
secondary
#B1ACD3
accent
#54D463
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#14140D
muted
#82827E

Preview Lab

Preview with #B7C262

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

Preview Lab → · Contrast checker → · Palette generator →

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