#C2BA38#C2BA38

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

Color values

HEX#C2BA38
RGBrgb(194, 186, 56)
HSLhsl(57, 55%, 49%)
HSVhsv(57, 71%, 76%)
CMYKcmyk(0%, 4.1%, 71.1%, 23.9%)
CIE-LABlab(74.11, -12.08, 63.20)
CIE-LCHlch(74.11, 64.35, 100.82°)
OKLaboklab(77.27% -0.0397 0.1401)
OKLCHoklch(77.27% 0.146 105.8)
XYZxyz(40.5225, 46.8742, 10.6537)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BA38 #3840C2
analogous
#C27538 #C2BA38 #85C238
triadic
#C2BA38 #38C2BA #BA38C2
tetradic
#C2BA38 #38C275 #3840C2 #C23885
square
#C2BA38 #38C275 #3840C2 #C23885
split-complementary
#C2BA38 #3885C2 #7538C2
monochromatic
#635F1D #938C2A #C2BA38 #D2CC65 #E0DC94

Accessibility & contrast

On white

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

On black

10.37
#C2BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BA38
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BA38#FFFFFF#000000##000000
##C2BA381.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ba38;
/* rgb */ color: rgb(194, 186, 56);
/* oklch */ color: oklch(77.3% 0.146 105.8);
Tailwind
colors: {
  custom: {
    50: '#d8ce77',
    500: '#c2ba38',
    950: '#000000',
  },
}
SCSS
$custom: #c2ba38;
$custom-light: #d8ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ba38",
  "rgb": {
    "r": 194,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 56.522,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77266,
    "c": 0.14565,
    "h": 105.8
  },
  "luminance": 0.46873
}

Semantic roles & 50–950 ramp

primary
#C2BA38
secondary
#8A8ECB
accent
#52DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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