#C4C92F#C4C92F

#C4C92F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.6% C 0.165 H 111.5°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C4C92F
RGBrgb(196, 201, 47)
HSLhsl(62, 62%, 49%)
HSVhsv(62, 77%, 79%)
CMYKcmyk(2.5%, 0%, 76.6%, 21.2%)
CIE-LABlab(78.30, -19.17, 70.20)
CIE-LCHlch(78.30, 72.77, 105.27°)
OKLaboklab(80.63% -0.0604 0.1533)
OKLCHoklch(80.63% 0.165 111.5)
XYZxyz(44.1662, 53.7154, 10.7303)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C92F #342FC9
analogous
#C9812F #C4C92F #77C92F
triadic
#C4C92F #2FC4C9 #C92FC4
tetradic
#C4C92F #2FC981 #342FC9 #C92F77
square
#C4C92F #2FC981 #342FC9 #C92F77
split-complementary
#C4C92F #2F77C9 #812FC9
monochromatic
#636618 #949723 #C4C92F #D5D95C #E2E58E

Accessibility & contrast

On white

1.79
#C4C92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#C4C92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C92F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C92F#FFFFFF#000000##000000
##C4C92F1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DAC33D
Tritanopia (blue-blind)
#D2BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c4c92f;
/* rgb */ color: rgb(196, 201, 47);
/* oklch */ color: oklch(80.6% 0.165 111.5);
Tailwind
colors: {
  custom: {
    50: '#dad975',
    500: '#c4c92f',
    950: '#000000',
  },
}
SCSS
$custom: #c4c92f;
$custom-light: #dad975;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c92f",
  "rgb": {
    "r": 196,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 61.948,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80632,
    "c": 0.16476,
    "h": 111.5
  },
  "luminance": 0.53714
}

Semantic roles & 50–950 ramp

primary
#C4C92F
secondary
#2E2C70
accent
#43E548
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C92F

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

Preview Lab → · Contrast checker → · Palette generator →

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