#A7CB38#A7CB38

#A7CB38 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.9% C 0.172 H 122.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#A7CB38
RGBrgb(167, 203, 56)
HSLhsl(75, 59%, 51%)
HSVhsv(75, 72%, 80%)
CMYKcmyk(17.7%, 0%, 72.4%, 20.4%)
CIE-LABlab(76.81, -31.67, 65.14)
CIE-LCHlch(76.81, 72.43, 115.93°)
OKLaboklab(78.93% -0.0926 0.145)
OKLCHoklch(78.93% 0.172 122.6)
XYZxyz(38.0066, 51.2127, 11.6234)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CB38 #5C38CB
analogous
#CBA538 #A7CB38 #5DCB38
triadic
#A7CB38 #38A7CB #CB38A7
tetradic
#A7CB38 #38CBA5 #5C38CB #CB385D
square
#A7CB38 #38CBA5 #5C38CB #CB385D
split-complementary
#A7CB38 #385DCB #A538CB
monochromatic
#596C1C #809D29 #A7CB38 #BCD869 #D2E499

Accessibility & contrast

On white

1.87
#A7CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#A7CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CB38
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CB38#FFFFFF#000000##000000
##A7CB381.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1C
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#B0C1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a7cb38;
/* rgb */ color: rgb(167, 203, 56);
/* oklch */ color: oklch(78.9% 0.172 122.6);
Tailwind
colors: {
  custom: {
    50: '#c5db79',
    500: '#a7cb38',
    950: '#000000',
  },
}
SCSS
$custom: #a7cb38;
$custom-light: #c5db79;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cb38",
  "rgb": {
    "r": 167,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 74.694,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78927,
    "c": 0.17208,
    "h": 122.6
  },
  "luminance": 0.51213
}

Semantic roles & 50–950 ramp

primary
#A7CB38
secondary
#423176
accent
#46E26C
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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