#C4BA27#C4BA27

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

Color values

HEX#C4BA27
RGBrgb(196, 186, 39)
HSLhsl(56, 67%, 46%)
HSVhsv(56, 80%, 77%)
CMYKcmyk(0%, 5.1%, 80.1%, 23.1%)
CIE-LABlab(74.19, -11.91, 68.87)
CIE-LCHlch(74.19, 69.90, 99.81°)
OKLaboklab(77.34% -0.0408 0.149)
OKLCHoklch(77.34% 0.154 105.3)
XYZxyz(40.6919, 47.0017, 8.8479)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA27 #2731C4
analogous
#C46B27 #C4BA27 #7FC427
triadic
#C4BA27 #27C4BA #BA27C4
tetradic
#C4BA27 #27C46B #2731C4 #C4277F
square
#C4BA27 #27C46B #2731C4 #C4277F
split-complementary
#C4BA27 #277FC4 #6B27C4
monochromatic
#5E5913 #918A1D #C4BA27 #DCD24D #E6DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4BA27#FFFFFF#000000##000000
##C4BA271.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)
#CBB300
Deuteranopia (green-blind)
#CFB934
Tritanopia (blue-blind)
#D3AD9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4ba27;
/* rgb */ color: rgb(196, 186, 39);
/* oklch */ color: oklch(77.3% 0.154 105.3);
Tailwind
colors: {
  custom: {
    50: '#dace6f',
    500: '#c4ba27',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba27;
$custom-light: #dace6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba27",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 56.178,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77344,
    "c": 0.15448,
    "h": 105.3
  },
  "luminance": 0.47
}

Semantic roles & 50–950 ramp

primary
#C4BA27
secondary
#797ECE
accent
#49EA3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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