#CEA238#CEA238

#CEA238 is a light, vivid orange. Relative luminance 0.392; OKLCH L 73.4% C 0.130 H 85.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CEA238
RGBrgb(206, 162, 56)
HSLhsl(42, 60%, 51%)
HSVhsv(42, 73%, 81%)
CMYKcmyk(0%, 21.4%, 72.8%, 19.2%)
CIE-LABlab(68.93, 5.74, 58.49)
CIE-LCHlch(68.93, 58.77, 84.39°)
OKLaboklab(73.43% 0.0104 0.1297)
OKLCHoklch(73.43% 0.13 85.4)
XYZxyz(39.0901, 39.2507, 9.2579)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA238 #3864CE
analogous
#CE5738 #CEA238 #AFCE38
triadic
#CEA238 #38CEA2 #A238CE
tetradic
#CEA238 #38CE57 #3864CE #CE38AF
square
#CEA238 #38CE57 #3864CE #CE38AF
split-complementary
#CEA238 #38AFCE #5738CE
monochromatic
#70571C #A17E28 #CEA238 #DAB969 #E6D09A

Accessibility & contrast

On white

2.37
#CEA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CEA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA238
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA238#FFFFFF#000000##000000
##CEA2381.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A129
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#DF938D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cea238;
/* rgb */ color: rgb(206, 162, 56);
/* oklch */ color: oklch(73.4% 0.130 85.4);
Tailwind
colors: {
  custom: {
    50: '#e1bd75',
    500: '#cea238',
    950: '#000000',
  },
}
SCSS
$custom: #cea238;
$custom-light: #e1bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#cea238",
  "rgb": {
    "r": 206,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 42.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73432,
    "c": 0.13012,
    "h": 85.4
  },
  "luminance": 0.39248
}

Semantic roles & 50–950 ramp

primary
#CEA238
secondary
#90A3D2
accent
#73E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CEA238

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

Preview Lab → · Contrast checker → · Palette generator →

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