#CFB92C#CFB92C

#CFB92C is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.151 H 99.8°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CFB92C
RGBrgb(207, 185, 44)
HSLhsl(52, 65%, 49%)
HSVhsv(52, 79%, 81%)
CMYKcmyk(0%, 10.6%, 78.7%, 18.8%)
CIE-LABlab(74.92, -6.46, 68.42)
CIE-LCHlch(74.92, 68.72, 95.39°)
OKLaboklab(78.16% -0.0256 0.1485)
OKLCHoklch(78.16% 0.151 99.8)
XYZxyz(43.5379, 48.1473, 9.3825)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB92C #2C42CF
analogous
#CF682C #CFB92C #94CF2C
triadic
#CFB92C #2CCFB9 #B92CCF
tetradic
#CFB92C #2CCF68 #2C42CF #CF2C94
square
#CFB92C #2CCF68 #2C42CF #CF2C94
split-complementary
#CFB92C #2C94CF #682CCF
monochromatic
#6A5F17 #9D8C21 #CFB92C #DCCB5C #E7DB8E

Accessibility & contrast

On white

1.98
#CFB92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CFB92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB92C
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB92C#FFFFFF#000000##000000
##CFB92C1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB402
Deuteranopia (green-blind)
#D1BC37
Tritanopia (blue-blind)
#E0AB9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb92c;
/* rgb */ color: rgb(207, 185, 44);
/* oklch */ color: oklch(78.2% 0.151 99.8);
Tailwind
colors: {
  custom: {
    50: '#e2cd72',
    500: '#cfb92c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb92c;
$custom-light: #e2cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb92c",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 51.902,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7816,
    "c": 0.15066,
    "h": 99.8
  },
  "luminance": 0.48145
}

Semantic roles & 50–950 ramp

primary
#CFB92C
secondary
#8590D1
accent
#57E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB92C

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

Preview Lab → · Contrast checker → · Palette generator →

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