#C4B727#C4B727

#C4B727 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.7% C 0.152 H 103.9°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C4B727
RGBrgb(196, 183, 39)
HSLhsl(55, 67%, 46%)
HSVhsv(55, 80%, 77%)
CMYKcmyk(0%, 6.6%, 80.1%, 23.1%)
CIE-LABlab(73.38, -10.37, 68.17)
CIE-LCHlch(73.38, 68.95, 98.65°)
OKLaboklab(76.7% -0.0365 0.1475)
OKLCHoklch(76.7% 0.152 103.9)
XYZxyz(40.0665, 45.7509, 8.6394)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B727 #2734C4
analogous
#C46827 #C4B727 #82C427
triadic
#C4B727 #27C4B7 #B727C4
tetradic
#C4B727 #27C468 #2734C4 #C42782
square
#C4B727 #27C468 #2734C4 #C42782
split-complementary
#C4B727 #2782C4 #6827C4
monochromatic
#5E5813 #91871D #C4B727 #DCD04D #E6DD80

Accessibility & contrast

On white

2.07
#C4B727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C4B727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B727
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B727#FFFFFF#000000##000000
##C4B7271.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#CCB733
Tritanopia (blue-blind)
#D3AA9D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b727;
/* rgb */ color: rgb(196, 183, 39);
/* oklch */ color: oklch(76.7% 0.152 103.9);
Tailwind
colors: {
  custom: {
    50: '#dacc6f',
    500: '#c4b727',
    950: '#000000',
  },
}
SCSS
$custom: #c4b727;
$custom-light: #dacc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b727",
  "rgb": {
    "r": 196,
    "g": 183,
    "b": 39
  },
  "hsl": {
    "h": 55.032,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76701,
    "c": 0.15192,
    "h": 103.9
  },
  "luminance": 0.45749
}

Semantic roles & 50–950 ramp

primary
#C4B727
secondary
#7980CE
accent
#4CEA3E
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#151308
muted
#84827B

Preview Lab

Preview with #C4B727

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

Preview Lab → · Contrast checker → · Palette generator →

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