#C2BA4F#C2BA4F

#C2BA4F is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.129 H 105.0°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C2BA4F
RGBrgb(194, 186, 79)
HSLhsl(56, 49%, 54%)
HSVhsv(56, 59%, 76%)
CMYKcmyk(0%, 4.1%, 59.3%, 23.9%)
CIE-LABlab(74.29, -10.71, 53.95)
CIE-LCHlch(74.29, 55.00, 101.22°)
OKLaboklab(77.46% -0.0333 0.1241)
OKLCHoklch(77.46% 0.129 105)
XYZxyz(41.2197, 47.1530, 14.3258)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA4F #4F57C2
analogous
#C2804F #C2BA4F #90C24F
triadic
#C2BA4F #4FC2BA #BA4FC2
tetradic
#C2BA4F #4FC280 #4F57C2 #C24F90
square
#C2BA4F #4FC280 #4F57C2 #C24F90
split-complementary
#C2BA4F #4F90C2 #804FC2
monochromatic
#706B27 #9D9637 #C2BA4F #D2CC7C #E2DEAA

Accessibility & contrast

On white

2.01
#C2BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#C2BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA4F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA4F#FFFFFF#000000##000000
##C2BA4F1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#CCB955
Tritanopia (blue-blind)
#CFAFA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2ba4f;
/* rgb */ color: rgb(194, 186, 79);
/* oklch */ color: oklch(77.5% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#d7ce84',
    500: '#c2ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba4f;
$custom-light: #d7ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba4f",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 55.826,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77465,
    "c": 0.12853,
    "h": 105
  },
  "luminance": 0.47152
}

Semantic roles & 50–950 ramp

primary
#C2BA4F
secondary
#9EA1CF
accent
#59D850
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C2BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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