#C9BA38#C9BA38

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

Color values

HEX#C9BA38
RGBrgb(201, 186, 56)
HSLhsl(54, 57%, 50%)
HSVhsv(54, 72%, 79%)
CMYKcmyk(0%, 7.5%, 72.1%, 21.2%)
CIE-LABlab(74.71, -9.08, 63.99)
CIE-LCHlch(74.71, 64.63, 98.07°)
OKLaboklab(77.89% -0.0316 0.1416)
OKLCHoklch(77.89% 0.145 102.6)
XYZxyz(42.3620, 47.8227, 10.7399)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA38 #3847C9
analogous
#C97138 #C9BA38 #8FC938
triadic
#C9BA38 #38C9BA #BA38C9
tetradic
#C9BA38 #38C971 #3847C9 #C9388F
square
#C9BA38 #38C971 #3847C9 #C9388F
split-complementary
#C9BA38 #388FC9 #7138C9
monochromatic
#6A621D #9A8E2A #C9BA38 #D6CB68 #E3DB98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BA38#FFFFFF#000000##000000
##C9BA381.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)
#CBB422
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#D8ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba38;
/* rgb */ color: rgb(201, 186, 56);
/* oklch */ color: oklch(77.9% 0.145 102.6);
Tailwind
colors: {
  custom: {
    50: '#ddce77',
    500: '#c9ba38',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba38;
$custom-light: #ddce77;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba38",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 53.793,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77891,
    "c": 0.14505,
    "h": 102.6
  },
  "luminance": 0.47821
}

Semantic roles & 50–950 ramp

primary
#C9BA38
secondary
#8E95CF
accent
#57E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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