#C2BA3F#C2BA3F

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

Color values

HEX#C2BA3F
RGBrgb(194, 186, 63)
HSLhsl(56, 52%, 50%)
HSVhsv(56, 68%, 76%)
CMYKcmyk(0%, 4.1%, 67.5%, 23.9%)
CIE-LABlab(74.16, -11.72, 60.58)
CIE-LCHlch(74.16, 61.70, 100.95°)
OKLaboklab(77.32% -0.0379 0.1358)
OKLCHoklch(77.32% 0.141 105.6)
XYZxyz(40.7058, 46.9475, 11.6192)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA3F #3F47C2
analogous
#C2783F #C2BA3F #88C23F
triadic
#C2BA3F #3FC2BA #BA3FC2
tetradic
#C2BA3F #3FC278 #3F47C2 #C23F88
square
#C2BA3F #3FC278 #3F47C2 #C23F88
split-complementary
#C2BA3F #3F88C2 #783FC2
monochromatic
#666220 #958E2F #C2BA3F #D1CB6D #E0DB9C

Accessibility & contrast

On white

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

On black

10.39
#C2BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA3F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA3F#FFFFFF#000000##000000
##C2BA3F1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ba3f;
/* rgb */ color: rgb(194, 186, 63);
/* oklch */ color: oklch(77.3% 0.141 105.6);
Tailwind
colors: {
  custom: {
    50: '#d8ce7b',
    500: '#c2ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba3f;
$custom-light: #d8ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba3f",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 56.336,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77318,
    "c": 0.14101,
    "h": 105.6
  },
  "luminance": 0.46946
}

Semantic roles & 50–950 ramp

primary
#C2BA3F
secondary
#9195CC
accent
#55DB4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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