#A7B233#A7B233

#A7B233 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.146 H 114.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A7B233
RGBrgb(167, 178, 51)
HSLhsl(65, 55%, 45%)
HSVhsv(65, 71%, 70%)
CMYKcmyk(6.2%, 0%, 71.3%, 30.2%)
CIE-LABlab(69.68, -19.83, 59.96)
CIE-LCHlch(69.68, 63.16, 108.30°)
OKLaboklab(73.18% -0.0603 0.1333)
OKLCHoklch(73.18% 0.146 114.4)
XYZxyz(32.4552, 40.2959, 9.1995)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B233 #3E33B2
analogous
#B27E33 #A7B233 #67B233
triadic
#A7B233 #33A7B2 #B233A7
tetradic
#A7B233 #33B27E #3E33B2 #B23367
square
#A7B233 #33B27E #3E33B2 #B23367
split-complementary
#A7B233 #3367B2 #7E33B2
monochromatic
#4E5318 #7A8225 #A7B233 #C3CE54 #D4DC84

Accessibility & contrast

On white

2.32
#A7B233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A7B233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B233
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B233#FFFFFF#000000##000000
##A7B2331.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91C
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b233;
/* rgb */ color: rgb(167, 178, 51);
/* oklch */ color: oklch(73.2% 0.146 114.4);
Tailwind
colors: {
  custom: {
    50: '#c4c873',
    500: '#a7b233',
    950: '#000000',
  },
}
SCSS
$custom: #a7b233;
$custom-light: #c4c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b233",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 65.197,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73181,
    "c": 0.14633,
    "h": 114.4
  },
  "luminance": 0.40295
}

Semantic roles & 50–950 ramp

primary
#A7B233
secondary
#827CC5
accent
#49DF56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B233

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

Preview Lab → · Contrast checker → · Palette generator →

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