#C2BA39#C2BA39

#C2BA39 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.3% C 0.145 H 105.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C2BA39
RGBrgb(194, 186, 57)
HSLhsl(56, 55%, 49%)
HSVhsv(56, 71%, 76%)
CMYKcmyk(0%, 4.1%, 70.6%, 23.9%)
CIE-LABlab(74.12, -12.03, 62.84)
CIE-LCHlch(74.12, 63.98, 100.84°)
OKLaboklab(77.27% -0.0394 0.1396)
OKLCHoklch(77.27% 0.145 105.8)
XYZxyz(40.5472, 46.8840, 10.7838)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA39 #3941C2
analogous
#C27539 #C2BA39 #86C239
triadic
#C2BA39 #39C2BA #BA39C2
tetradic
#C2BA39 #39C275 #3941C2 #C23986
square
#C2BA39 #39C275 #3941C2 #C23986
split-complementary
#C2BA39 #3986C2 #7539C2
monochromatic
#635F1D #938D2B #C2BA39 #D2CC66 #E0DC95

Accessibility & contrast

On white

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

On black

10.38
#C2BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA39
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA39#FFFFFF#000000##000000
##C2BA391.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB324
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#D0AEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2ba39;
/* rgb */ color: rgb(194, 186, 57);
/* oklch */ color: oklch(77.3% 0.145 105.8);
Tailwind
colors: {
  custom: {
    50: '#d8ce78',
    500: '#c2ba39',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba39;
$custom-light: #d8ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba39",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 56.496,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77273,
    "c": 0.14501,
    "h": 105.8
  },
  "luminance": 0.46883
}

Semantic roles & 50–950 ramp

primary
#C2BA39
secondary
#8B8FCB
accent
#53DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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