#C9BA34#C9BA34

#C9BA34 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.147 H 102.7°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C9BA34
RGBrgb(201, 186, 52)
HSLhsl(54, 59%, 50%)
HSVhsv(54, 74%, 79%)
CMYKcmyk(0%, 7.5%, 74.1%, 21.2%)
CIE-LABlab(74.69, -9.26, 65.39)
CIE-LCHlch(74.69, 66.05, 98.06°)
OKLaboklab(77.86% -0.0325 0.1438)
OKLCHoklch(77.86% 0.147 102.7)
XYZxyz(42.2680, 47.7851, 10.2452)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA34 #3443C9
analogous
#C97034 #C9BA34 #8DC934
triadic
#C9BA34 #34C9BA #BA34C9
tetradic
#C9BA34 #34C970 #3443C9 #C9348D
square
#C9BA34 #34C970 #3443C9 #C9348D
split-complementary
#C9BA34 #348DC9 #7034C9
monochromatic
#68601B #988D27 #C9BA34 #D7CB63 #E3DB94

Accessibility & contrast

On white

1.99
#C9BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C9BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA34
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA34#FFFFFF#000000##000000
##C9BA341.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41A
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#D8ADA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba34;
/* rgb */ color: rgb(201, 186, 52);
/* oklch */ color: oklch(77.9% 0.147 102.7);
Tailwind
colors: {
  custom: {
    50: '#ddce75',
    500: '#c9ba34',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba34;
$custom-light: #ddce75;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba34",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 53.96,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77864,
    "c": 0.14742,
    "h": 102.7
  },
  "luminance": 0.47783
}

Semantic roles & 50–950 ramp

primary
#C9BA34
secondary
#8A91CE
accent
#55E246
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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