#C2BA45#C2BA45

#C2BA45 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.137 H 105.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C2BA45
RGBrgb(194, 186, 69)
HSLhsl(56, 51%, 52%)
HSVhsv(56, 64%, 76%)
CMYKcmyk(0%, 4.1%, 64.4%, 23.9%)
CIE-LABlab(74.20, -11.37, 58.18)
CIE-LCHlch(74.20, 59.28, 101.06°)
OKLaboklab(77.37% -0.0363 0.1317)
OKLCHoklch(77.37% 0.137 105.4)
XYZxyz(40.8827, 47.0183, 12.5510)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA45 #454DC2
analogous
#C27C45 #C2BA45 #8CC245
triadic
#C2BA45 #45C2BA #BA45C2
tetradic
#C2BA45 #45C27C #454DC2 #C2458C
square
#C2BA45 #45C27C #454DC2 #C2458C
split-complementary
#C2BA45 #458CC2 #7C45C2
monochromatic
#6A6523 #989132 #C2BA45 #D1CB73 #E0DCA1

Accessibility & contrast

On white

2.02
#C2BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#C2BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA45
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA45#FFFFFF#000000##000000
##C2BA451.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B436
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#D0AEA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2ba45;
/* rgb */ color: rgb(194, 186, 69);
/* oklch */ color: oklch(77.4% 0.137 105.4);
Tailwind
colors: {
  custom: {
    50: '#d7ce7e',
    500: '#c2ba45',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba45;
$custom-light: #d7ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba45",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 56.16,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77369,
    "c": 0.13662,
    "h": 105.4
  },
  "luminance": 0.47017
}

Semantic roles & 50–950 ramp

primary
#C2BA45
secondary
#9699CD
accent
#57DA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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